Skip to contentSkip to conversation

xtensa: remove arch/xtensa/include/asm/types.h

PATCH New Max Filippov 1 participant 1 message Jun 28, 2019 Tensilica Xtensa port (xtensa)

lore
Share & tools
lore

Max Filippov

author maintainer
#0 lore raw

PATCH 1/1 xtensa: remove arch/xtensa/include/asm/types.h

Xtensa does not define CONFIG_64BIT. The generic definition of BITS_PER_LONG in include/asm-generic/bitsperlong.h should work. With that definition removed from arch/xtensa/include/asm/types.h it does nothing but including arch/xtensa/include/uapi/asm/types.h Remove the arch/xtensa/include/asm/types.h header.

---
 arch/xtensa/include/asm/types.h | 23 -----------------------
 1 file changed, 23 deletions(-)
 delete mode 100644 arch/xtensa/include/asm/types.h
arch/xtensa/include/asm/types.h deleted +0 -23
deleted file mode 100644
index 2b410b8c7f79..000000000000
@@ -1,23 +0,0 @@
-/*
- * include/asm-xtensa/types.h
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 2001 - 2005 Tensilica Inc.
- */
-#ifndef _XTENSA_TYPES_H
-#define _XTENSA_TYPES_H
-
-#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 */
Signature · 1 line
2.11.0