summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/uapi/asm/types.h
diff options
context:
space:
mode:
authorDavid Howells2012-10-09 10:47:14 +0200
committerDavid Howells2012-10-09 10:47:14 +0200
commit61730c538f8281efa7ac12596da9f3f9a31b9272 (patch)
treecda3febfc512cd4dd667601427b42b612d7ea6d7 /arch/mips/include/uapi/asm/types.h
parentMerge branch 'akpm' (Andrew's patch-bomb) (diff)
downloadkernel-qcow2-linux-61730c538f8281efa7ac12596da9f3f9a31b9272.tar.gz
kernel-qcow2-linux-61730c538f8281efa7ac12596da9f3f9a31b9272.tar.xz
kernel-qcow2-linux-61730c538f8281efa7ac12596da9f3f9a31b9272.zip
UAPI: (Scripted) Disintegrate arch/mips/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/mips/include/uapi/asm/types.h')
-rw-r--r--arch/mips/include/uapi/asm/types.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/mips/include/uapi/asm/types.h b/arch/mips/include/uapi/asm/types.h
new file mode 100644
index 000000000000..7ac9d0baad84
--- /dev/null
+++ b/arch/mips/include/uapi/asm/types.h
@@ -0,0 +1,27 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle
+ * Copyright (C) 2008 Wind River Systems,
+ * written by Ralf Baechle
+ * Copyright (C) 1999 Silicon Graphics, Inc.
+ */
+#ifndef _UAPI_ASM_TYPES_H
+#define _UAPI_ASM_TYPES_H
+
+/*
+ * We don't use int-l64.h for the kernel anymore but still use it for
+ * userspace to avoid code changes.
+ */
+#ifndef __KERNEL__
+# if _MIPS_SZLONG == 64
+# include <asm-generic/int-l64.h>
+# else
+# include <asm-generic/int-ll64.h>
+# endif
+#endif
+
+
+#endif /* _UAPI_ASM_TYPES_H */