diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-12-27 09:08:28 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-03 19:45:16 -0500 |
commit | 3b85e4ab2ec1dea29374f16205917b1b5589bc81 (patch) | |
tree | a3fca276ebba3e32591ffad65f0ef467a876f750 /fs/efs/dir.c | |
parent | a87b5b1cc1b95d7342eb2b38018d115abc8c4991 (diff) |
debugfs: add missing #ifdef HAS_IOMEM
"debugfs: add tools to printk 32-bit registers" adds new functions which rely
on IOMEM functionality which is not present on all architectures and therefore
result in compile errors:
fs/debugfs/file.c: In function 'debugfs_print_regs32':
fs/debugfs/file.c:561:7: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration]
Add an #ifdef CONFIG_HAS_IOMEM to fix this
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/efs/dir.c')
0 files changed, 0 insertions, 0 deletions