Message ID | 20190627070052.8647-1-yamada.masahiro@socionext.com |
---|---|
State | New |
Headers | show |
Series | xtensa: remove unneeded BITS_PER_LONG define | expand |
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
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 */
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(-) -- 2.17.1