ARM: 7892/1: Fix warning for V7M builds
authorOlof Johansson <olof@lixom.net>
Mon, 18 Nov 2013 05:01:38 +0000 (06:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 19 Nov 2013 00:41:03 +0000 (00:41 +0000)
commit5761704a41c63ebe756295a13d2e236280dd8a86
tree0bcdff3507b32709ad6cfd22c54baec4c345a729
parent9170217510cd280c704966738e7c1660c8fa5cbd
ARM: 7892/1: Fix warning for V7M builds

Fixes a harmless warning when building for V7M (!MMU):
 arch/arm/kernel/traps.c:859:123: warning: 'kuser_init' defined but not used [-Wunused-function]

By making the stub static inline instead of just static.

Fixes: f6f91b0d9fd9 ('ARM: allow kuser helpers to be removed from the vector page')

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/traps.c