summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2019-01-14 23:06:39 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2019-01-18 09:43:27 +0100
commitc0e0503c1284b81c5ccd483d1e8cdb49ab52fd17 (patch)
treec8bf2f50d85ddf86c1ad19df175bad88e580885c
parentc19b36aeb723493489ed84930824b65712906dae (diff)
downloadbarebox-c0e0503c1284b81c5ccd483d1e8cdb49ab52fd17.tar.gz
barebox-c0e0503c1284b81c5ccd483d1e8cdb49ab52fd17.tar.xz
MIPS: asm/types.h: drop unused stuff
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/mips/include/asm/types.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/arch/mips/include/asm/types.h b/arch/mips/include/asm/types.h
index cd76f53b50..78068e4113 100644
--- a/arch/mips/include/asm/types.h
+++ b/arch/mips/include/asm/types.h
@@ -10,39 +10,10 @@
#include <asm-generic/int-ll64.h>
-/*
- * We don't use int-l64.h for the kernel anymore but still use it for
- * userspace to avoid code changes.
- */
-#if (_MIPS_SZLONG == 64) && !defined(__KERNEL__)
-# include <asm-generic/int-l64.h>
-#else
-# include <asm-generic/int-ll64.h>
-#endif
-
#ifndef __ASSEMBLY__
typedef unsigned short umode_t;
#endif /* __ASSEMBLY__ */
-/*
- * These aren't exported outside the kernel to avoid name space clashes
- */
-#ifdef __KERNEL__
-#ifndef __ASSEMBLY__
-
-/*
- * Don't use phys_t. You've been warned.
- */
-#ifdef CONFIG_64BIT_PHYS_ADDR
-typedef unsigned long long phys_t;
-#else
-typedef unsigned long phys_t;
-#endif
-
-#endif /* __ASSEMBLY__ */
-
-#endif /* __KERNEL__ */
-
#endif /* _ASM_TYPES_H */