[PATCH 3/8] arm: remove unused asm/segment.h contents

From: Arnd Bergmann
Date: Wed Oct 06 2010 - 14:06:59 EST


The constants defined in asm/segment.h are not used
anywhere in Linux, so we can make the file look like
the practically empty asm-generic/segment.h.

Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
---
arch/arm/include/asm/segment.h | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/arch/arm/include/asm/segment.h b/arch/arm/include/asm/segment.h
index 9e24c21..b8b7291 100644
--- a/arch/arm/include/asm/segment.h
+++ b/arch/arm/include/asm/segment.h
@@ -1,11 +1,9 @@
#ifndef __ASM_ARM_SEGMENT_H
#define __ASM_ARM_SEGMENT_H
-
-#define __KERNEL_CS 0x0
-#define __KERNEL_DS 0x0
-
-#define __USER_CS 0x1
-#define __USER_DS 0x1
+/*
+ * Only here because we have some old header files that expect it...
+ *
+ * New architectures probably don't want to have their own version.
+ */

#endif /* __ASM_ARM_SEGMENT_H */
-
--
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/