lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1286388380-20646-4-git-send-email-arnd@arndb.de>
Date:	Wed,  6 Oct 2010 20:06:15 +0200
From:	Arnd Bergmann <arnd@...db.de>
To:	Russell King <linux@....linux.org.uk>, linux-kernel@...r.kernel.org
Cc:	Arnd Bergmann <arnd@...db.de>
Subject: [PATCH 3/8] arm: remove unused asm/segment.h contents

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@...db.de>
---
 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ