diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2014-01-16 00:38:58 +0100 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2014-01-19 16:29:13 +0100 |
commit | 9848e49a9a9aab075d79c5d2856abb879495f97f (patch) | |
tree | 3becb81be783204dc476dab6738c8a9ea1ce5791 /arch/xtensa/mm | |
parent | xtensa: implement ndelay (diff) | |
download | linux-9848e49a9a9aab075d79c5d2856abb879495f97f.tar.xz linux-9848e49a9a9aab075d79c5d2856abb879495f97f.zip |
xtensa: fix warning '"CONFIG_OF" is not defined'
The warning only shows up when building MMUv3 configuration with OF
support disabled.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/mm')
-rw-r--r-- | arch/xtensa/mm/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/mm/mmu.c b/arch/xtensa/mm/mmu.c index 36ec171698b8..861203e958da 100644 --- a/arch/xtensa/mm/mmu.c +++ b/arch/xtensa/mm/mmu.c @@ -39,7 +39,7 @@ void init_mmu(void) set_itlbcfg_register(0); set_dtlbcfg_register(0); #endif -#if XCHAL_HAVE_PTP_MMU && XCHAL_HAVE_SPANNING_WAY && CONFIG_OF +#if XCHAL_HAVE_PTP_MMU && XCHAL_HAVE_SPANNING_WAY && defined(CONFIG_OF) /* * Update the IO area mapping in case xtensa_kio_paddr has changed */ |