sh: Prevent leaking of CONFIG_SUPERH32 to userspace in asm/unistd.h.
authorKhem Raj <raj.khem@gmail.com>
Thu, 3 Jul 2008 10:02:41 +0000 (19:02 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jul 2008 09:10:27 +0000 (18:10 +0900)
commit82706b8f7bd1365e50478d3d0f6090f22e4571c7
treeeeef3a7942ad16f94cd582a87a4267bbbdf69a9b
parent45dabf1427a0a876f733b07239ade1bdb0e06010
sh: Prevent leaking of CONFIG_SUPERH32 to userspace in asm/unistd.h.

CONFIG_SUPERH32 is currently trickling into userspace unistd.h. Attached
patch uses __SH5__ define in userspace.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/unistd.h