summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/unistd.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-09 09:47:37 +0100
committerDavid Howells <dhowells@redhat.com>2012-10-09 09:47:37 +0100
commit0a9426df1858f71ac84eb7eef500b4247de5e3bb (patch)
tree82983766b53c18f5da8602f16ed0b67ae2a957fb /arch/sh/include/asm/unistd.h
parent9e2d8656f5e8aa214e66b462680cf86b210b74a8 (diff)
downloadblackbird-obmc-linux-0a9426df1858f71ac84eb7eef500b4247de5e3bb.tar.gz
blackbird-obmc-linux-0a9426df1858f71ac84eb7eef500b4247de5e3bb.zip
UAPI: (Scripted) Disintegrate arch/sh/include/asm
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/sh/include/asm/unistd.h')
-rw-r--r--arch/sh/include/asm/unistd.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/sh/include/asm/unistd.h b/arch/sh/include/asm/unistd.h
index 307201a854f3..38956dfa76f7 100644
--- a/arch/sh/include/asm/unistd.h
+++ b/arch/sh/include/asm/unistd.h
@@ -1,4 +1,3 @@
-#ifdef __KERNEL__
# ifdef CONFIG_SUPERH32
# include <asm/unistd_32.h>
# else
@@ -38,10 +37,4 @@
*/
# define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
-#else
-# ifdef __SH5__
-# include <asm/unistd_64.h>
-# else
-# include <asm/unistd_32.h>
-# endif
-#endif
+#include <uapi/asm/unistd.h>
OpenPOWER on IntegriCloud