]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6899c7b2ccc7f3c7640a3d318d2ee38ac123ebe6
tree954fceb1c217e5034dde95f80cf6ceafb02ec5ac
parent7c9f61ffa21f03831498663982f1a9bfd1116ad5
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