* [PATCH] xtensa: remove unneeded BITS_PER_LONG define
@ 2019-06-27 7:00 Masahiro Yamada
2019-06-27 20:37 ` Max Filippov
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2019-06-27 7:00 UTC (permalink / raw)
To: Chris Zankel, Max Filippov, linux-xtensa; +Cc: Masahiro Yamada, linux-kernel
Xtensa does not define CONFIG_64BIT. The generic definition in
include/asm-generic/bitsperlong.h should work.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] xtensa: remove unneeded BITS_PER_LONG define
2019-06-27 7:00 [PATCH] xtensa: remove unneeded BITS_PER_LONG define Masahiro Yamada
@ 2019-06-27 20:37 ` Max Filippov
0 siblings, 0 replies; 2+ messages in thread
From: Max Filippov @ 2019-06-27 20:37 UTC (permalink / raw)
To: Masahiro Yamada
Cc: Chris Zankel, open list:TENSILICA XTENSA PORT (xtensa), LKML
Hi Yamada-san,
On Thu, Jun 27, 2019 at 12:01 AM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>
> Xtensa does not define CONFIG_64BIT. The generic definition in
> include/asm-generic/bitsperlong.h should work.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
> arch/xtensa/include/asm/types.h | 8 --------
> 1 file changed, 8 deletions(-)
After this change the file arch/xtensa/include/asm/types.h is effectively
empty, only including uapi/asm/types.h. Maybe it should be dropped
altogether?
--
Thanks.
-- Max
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-27 20:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-27 7:00 [PATCH] xtensa: remove unneeded BITS_PER_LONG define Masahiro Yamada
2019-06-27 20:37 ` Max Filippov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).