summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2012-05-30 19:50:04 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2012-06-10 10:18:26 +0200
commit2ef0d3e64f0ba9aed72c2ddd410aea83cd3261ab (patch)
treebefb7b454671b04828718f564ea319b62b452abf /arch/m68k
parent2bbc89a8e9c652ee71c6c3b2e0679b7ecedb1a09 (diff)
downloadlinux-2ef0d3e64f0ba9aed72c2ddd410aea83cd3261ab.tar.gz
linux-2ef0d3e64f0ba9aed72c2ddd410aea83cd3261ab.tar.bz2
linux-2ef0d3e64f0ba9aed72c2ddd410aea83cd3261ab.zip
m68k: Use asm-generic version of <asm/types.h>
The extra definition for BITS_PER_LONG we had is also indirectly provided by <asm-generic/types.h>, via <asm-generic/int-ll64.h> and <asm/bitsperlong.h> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/include/asm/Kbuild1
-rw-r--r--arch/m68k/include/asm/types.h22
2 files changed, 1 insertions, 22 deletions
diff --git a/arch/m68k/include/asm/Kbuild b/arch/m68k/include/asm/Kbuild
index 4d1f8fa33091..064f86743b34 100644
--- a/arch/m68k/include/asm/Kbuild
+++ b/arch/m68k/include/asm/Kbuild
@@ -23,5 +23,6 @@ generic-y += scatterlist.h
generic-y += siginfo.h
generic-y += statfs.h
generic-y += topology.h
+generic-y += types.h
generic-y += word-at-a-time.h
generic-y += xor.h
diff --git a/arch/m68k/include/asm/types.h b/arch/m68k/include/asm/types.h
deleted file mode 100644
index 89705adcbd52..000000000000
--- a/arch/m68k/include/asm/types.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef _M68K_TYPES_H
-#define _M68K_TYPES_H
-
-/*
- * This file is never included by application software unless
- * explicitly requested (e.g., via linux/types.h) in which case the
- * application is Linux specific so (user-) name space pollution is
- * not a major issue. However, for interoperability, libraries still
- * need to be careful to avoid a name clashes.
- */
-#include <asm-generic/int-ll64.h>
-
-/*
- * These aren't exported outside the kernel to avoid name space clashes
- */
-#ifdef __KERNEL__
-
-#define BITS_PER_LONG 32
-
-#endif /* __KERNEL__ */
-
-#endif /* _M68K_TYPES_H */