]> Pileus Git - ~andy/linux/commit
ARM: fix nommu builds with 48be69a02 (ARM: move signal handlers into a vdso-like...
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 3 Aug 2013 09:39:51 +0000 (10:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 3 Aug 2013 09:49:01 +0000 (10:49 +0100)
commit8c0cc8a5d90bc7373a7a9e7f7a40eb41f51e03fc
tree387581931c685a5366871c790ff3d1a9e128c698
parente0d407564b532d978b03ceccebd224a05d02f111
ARM: fix nommu builds with 48be69a02 (ARM: move signal handlers into a vdso-like page)

Olof reports that noMMU builds error out with:

arch/arm/kernel/signal.c: In function 'setup_return':
arch/arm/kernel/signal.c:413:25: error: 'mm_context_t' has no member named 'sigpage'

This shows one of the evilnesses of IS_ENABLED().  Get rid of it here
and replace it with #ifdef's - and as no noMMU platform can make use
of sigpage, depend on CONIFG_MMU not CONFIG_ARM_MPU.

Reported-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/elf.h
arch/arm/kernel/signal.c