aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2015-02-28 17:59:50 -0500
committerJesper Nilsson <jespern@axis.com>2015-09-04 18:56:48 -0400
commit20ae24739968ae7f94d0e73215d444042f91df78 (patch)
tree11307718433f0af8e3f9826f9fd232fd0ad261f3
parent258a9ff66c30c830f6e2f06856878be4d4cc81af (diff)
CRIS: UAPI: use generic types.h
CRIS' types.h is functionally identical to the asm-generic version. Effective diff: +#ifndef _ASM_GENERIC_TYPES_H +#define _ASM_GENERIC_TYPES_H + #include <asm-generic/int-ll64.h> + +#endif Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
-rw-r--r--arch/cris/include/asm/Kbuild1
-rw-r--r--arch/cris/include/asm/types.h12
-rw-r--r--arch/cris/include/uapi/asm/types.h1
3 files changed, 1 insertions, 13 deletions
diff --git a/arch/cris/include/asm/Kbuild b/arch/cris/include/asm/Kbuild
index 17b5237aaf0a..b7f68192d15b 100644
--- a/arch/cris/include/asm/Kbuild
+++ b/arch/cris/include/asm/Kbuild
@@ -41,5 +41,6 @@ generic-y += sockios.h
41generic-y += statfs.h 41generic-y += statfs.h
42generic-y += topology.h 42generic-y += topology.h
43generic-y += trace_clock.h 43generic-y += trace_clock.h
44generic-y += types.h
44generic-y += vga.h 45generic-y += vga.h
45generic-y += xor.h 46generic-y += xor.h
diff --git a/arch/cris/include/asm/types.h b/arch/cris/include/asm/types.h
deleted file mode 100644
index a3cac7757c7f..000000000000
--- a/arch/cris/include/asm/types.h
+++ /dev/null
@@ -1,12 +0,0 @@
1#ifndef _ETRAX_TYPES_H
2#define _ETRAX_TYPES_H
3
4#include <uapi/asm/types.h>
5
6/*
7 * These aren't exported outside the kernel to avoid name space clashes
8 */
9
10#define BITS_PER_LONG 32
11
12#endif
diff --git a/arch/cris/include/uapi/asm/types.h b/arch/cris/include/uapi/asm/types.h
deleted file mode 100644
index 9ec9d4c5ac4d..000000000000
--- a/arch/cris/include/uapi/asm/types.h
+++ /dev/null
@@ -1 +0,0 @@
1#include <asm-generic/int-ll64.h>