summaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-05-21 12:23:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-05-22 08:00:48 +0200
commit28a91334704f880e6aaeaa2f6b3e6e29a28d500b (patch)
tree1b98cc71f0c24ee7370ef0fab19efb755e9c4ba6 /arch/mips/include
parent9e7d9a5f2ac5dd56e5b3718ea44049907170898b (diff)
downloadbarebox-28a91334704f880e6aaeaa2f6b3e6e29a28d500b.tar.gz
barebox-28a91334704f880e6aaeaa2f6b3e6e29a28d500b.tar.xz
drop __BITS_PER_LONG
The kernel has __BITS_PER_LONG and BITS_PER_LONG. The formaer is needed for architectures which support 32bit userspace on a 64bit kernel. This is not relevant for barebox, so drop __BITS_PER_LONG and use BITS_PER_LONG only. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/bitsperlong.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/include/asm/bitsperlong.h b/arch/mips/include/asm/bitsperlong.h
index 3e4c10a8e7..41712161bc 100644
--- a/arch/mips/include/asm/bitsperlong.h
+++ b/arch/mips/include/asm/bitsperlong.h
@@ -1,8 +1,6 @@
#ifndef __ASM_MIPS_BITSPERLONG_H
#define __ASM_MIPS_BITSPERLONG_H
-#define __BITS_PER_LONG _MIPS_SZLONG
-
-#include <asm-generic/bitsperlong.h>
+#define BITS_PER_LONG _MIPS_SZLONG
#endif /* __ASM_MIPS_BITSPERLONG_H */