mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Russell King <linux@arm.linux.org.uk>, linux-kernel@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>
Subject: [PATCH 3/8] arm: remove unused asm/segment.h contents
Date: Wed,  6 Oct 2010 20:06:15 +0200	[thread overview]
Message-ID: <1286388380-20646-4-git-send-email-arnd@arndb.de> (raw)
In-Reply-To: <1286388380-20646-1-git-send-email-arnd@arndb.de>

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@arndb.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


  parent reply	other threads:[~2010-10-06 18:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-06 18:06 [PATCH 0/8] arm: use generic header files where possible Arnd Bergmann
2010-10-06 18:06 ` [PATCH 1/8] arm: generalize IPC header files Arnd Bergmann
2010-10-06 18:06 ` [PATCH 2/8] arm: trivial changes to make headers more generic Arnd Bergmann
2010-10-06 18:06 ` Arnd Bergmann [this message]
2010-10-06 18:06 ` [PATCH 4/8] arm: make asm/ioctls.h mostly generic Arnd Bergmann
2010-10-06 18:06 ` [PATCH 5/8] arm: generalize asm/posix_types.h Arnd Bergmann
2010-10-06 18:06 ` [PATCH 6/8] arm: generalize asm/signal.h Arnd Bergmann
2010-10-06 18:06 ` [PATCH 7/8] arm: generalize asm/termios.h Arnd Bergmann
2010-10-06 18:06 ` [PATCH 8/8] arm: remove generic asm header file contents Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1286388380-20646-4-git-send-email-arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®