diff options
| author | Matthew Wilcox <matthew@wil.cx> | 2005-01-15 17:45:12 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-15 17:45:12 -0800 |
| commit | cea795351db27f5d104dbc7c00200ec249d88a2e (patch) | |
| tree | 0fe2557ee304ac7cb4a1f79589d8d61bcd6253fe /lib | |
| parent | ad548e8b189e0bbf5e7f6c236540ff5cb0327344 (diff) | |
[PATCH] PA-RISC: Sort out io accessors
- sparse annotations for ioremap/iounmap (Randolph Chung)
- Turn gsc_readb, __raw_readb and readb functions into static inline
functions (Matthew Wilcox)
- Document the difference between the gsc_readb, __raw_readb and readb
families of functions (Matthew Wilcox)
- Add a debugging option to determine when they are being used incorrectly
(Matthew Wilcox)
- Make memcpy_fromio's second argument const (Matthew Wilcox)
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Kconfig.debug | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index b70d19bd1adc..f450bdd4c8fd 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -117,6 +117,19 @@ config DEBUG_INFO If you're truly short on disk space or don't expect to report any bugs back to the UML developers, say N, otherwise say Y. +config DEBUG_IOREMAP + bool "Enable ioremap() debugging" + depends on DEBUG_KERNEL && PARISC + help + Enabling this option will cause the kernel to distinguish between + ioremapped and physical addresses. It will print a backtrace (at + most one every 10 seconds), hopefully allowing you to see which + drivers need work. Fixing all these problems is a prerequisite + for turning on USE_HPPA_IOREMAP. The warnings are harmless; + the kernel has enough information to fix the broken drivers + automatically, but we'd like to make it more efficient by not + having to do that. + config DEBUG_FS bool "Debug Filesystem" depends on DEBUG_KERNEL |
