[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190627070052.8647-1-yamada.masahiro@socionext.com>
Date: Thu, 27 Jun 2019 16:00:52 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Chris Zankel <chris@...kel.net>, Max Filippov <jcmvbkbc@...il.com>,
linux-xtensa@...ux-xtensa.org
Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH] xtensa: remove unneeded BITS_PER_LONG define
Xtensa does not define CONFIG_64BIT. The generic definition in
include/asm-generic/bitsperlong.h should work.
Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
---
arch/xtensa/include/asm/types.h | 8 --------
1 file changed, 8 deletions(-)
diff --git a/arch/xtensa/include/asm/types.h b/arch/xtensa/include/asm/types.h
index 2b410b8c7f79..44f411c75837 100644
--- a/arch/xtensa/include/asm/types.h
+++ b/arch/xtensa/include/asm/types.h
@@ -12,12 +12,4 @@
#include <uapi/asm/types.h>
-#ifndef __ASSEMBLY__
-/*
- * These aren't exported outside the kernel to avoid name space clashes
- */
-
-#define BITS_PER_LONG 32
-
-#endif
#endif /* _XTENSA_TYPES_H */
--
2.17.1
Powered by blists - more mailing lists