Xtensa does not define CONFIG_64BIT. The generic definition in include/asm-generic/bitsperlong.h should work.
Signed-off-by: Masahiro Yamada <[email protected]> --- 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

