ARM: allow building alignment.c without PROC_FS
authorArnd Bergmann <arnd@arndb.de>
Sat, 27 Aug 2011 18:01:07 +0000 (20:01 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 1 Oct 2011 19:08:54 +0000 (21:08 +0200)
commitffc660c51b66312938e25fd6af24e3defdd0bc1b
tree954fceb1c217e5034dde95f80cf6ceafb02ec5ac
parent89bace652cbfb78a2fd830025f8ea048d6eb3657
ARM: allow building alignment.c without PROC_FS

The two functions cpu_is_v6_unaligned and safe_usermode
are only defined when CONFIG_PROC_FS is enabled, but
are used outside of the #ifdef.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Dave Martin <dave.martin@linaro.org>
arch/arm/mm/alignment.c