linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [-mm patch] more UID16 fixes
@ 2006-01-08 12:41 Adrian Bunk
  2006-01-08 17:03 ` Matt Mackall
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2006-01-08 12:41 UTC (permalink / raw)
  To: Matt Mackall; +Cc: Andrew Morton, linux-kernel

It seems the "make UID16 support optional" patch was checked when it 
edited the -tiny tree some time ago, but it wasn't checked whether it
still matches the current situation when it was submitted for inclusion 
in -mm. This patch fixes the following bugs:
- ARCH_S390X does no longer exist, nowadays this has to be expressed
  through (S390 && 64BIT)
- in five architecture specific Kconfig files the UID16 options
  weren't removed

Additionally, it changes the fragile negative dependencies of UID16 to 
positive dependencies (new architectures are more likely to not 
require UID16 support).


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 arch/frv/Kconfig    |    4 ----
 arch/m32r/Kconfig   |    4 ----
 arch/s390/Kconfig   |    5 -----
 arch/sh64/Kconfig   |    4 ----
 arch/xtensa/Kconfig |    4 ----
 init/Kconfig        |    4 +---
 6 files changed, 1 insertion(+), 24 deletions(-)

--- linux-2.6.15-mm2-full/init/Kconfig.old	2006-01-08 13:23:18.000000000 +0100
+++ linux-2.6.15-mm2-full/init/Kconfig	2006-01-08 13:29:38.000000000 +0100
@@ -230,9 +230,7 @@
 
 config UID16
 	bool "Enable 16-bit UID system calls" if EMBEDDED
-	depends !ALPHA && !PPC && !PPC64 && !PARISC && !V850 && !ARCH_S390X
-	depends !X86_64 || IA32_EMULATION
-	depends !SPARC64 || SPARC32_COMPAT
+	depends on ARM || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && SPARC32_COMPAT) || UML || (X86_64 && IA32_EMULATION)
 	default y
 	help
 	  This enables the legacy 16-bit UID syscall wrappers.
--- linux-2.6.15-mm2-full/arch/frv/Kconfig.old	2006-01-08 13:27:51.000000000 +0100
+++ linux-2.6.15-mm2-full/arch/frv/Kconfig	2006-01-08 13:28:00.000000000 +0100
@@ -6,10 +6,6 @@
 	bool
 	default y
 
-config UID16
-	bool
-	default y
-
 config RWSEM_GENERIC_SPINLOCK
 	bool
 	default y
--- linux-2.6.15-mm2-full/arch/m32r/Kconfig.old	2006-01-08 13:28:18.000000000 +0100
+++ linux-2.6.15-mm2-full/arch/m32r/Kconfig	2006-01-08 13:28:24.000000000 +0100
@@ -12,10 +12,6 @@
 config SBUS
 	bool
 
-config UID16
-	bool
-	default n
-
 config GENERIC_ISA_DMA
 	bool
 	default y
--- linux-2.6.15-mm2-full/arch/s390/Kconfig.old	2006-01-08 13:28:32.000000000 +0100
+++ linux-2.6.15-mm2-full/arch/s390/Kconfig	2006-01-08 13:28:49.000000000 +0100
@@ -27,11 +27,6 @@
 	bool
 	default y
 
-config UID16
-	bool
-	default y
-	depends on !64BIT
-
 source "init/Kconfig"
 
 menu "Base setup"
--- linux-2.6.15-mm2-full/arch/sh64/Kconfig.old	2006-01-08 13:30:08.000000000 +0100
+++ linux-2.6.15-mm2-full/arch/sh64/Kconfig	2006-01-08 13:30:15.000000000 +0100
@@ -17,10 +17,6 @@
 	bool
 	default y
 
-config UID16
-	bool
-	default y
-
 config RWSEM_GENERIC_SPINLOCK
 	bool
 	default y
--- linux-2.6.15-mm2-full/arch/xtensa/Kconfig.old	2006-01-08 13:30:36.000000000 +0100
+++ linux-2.6.15-mm2-full/arch/xtensa/Kconfig	2006-01-08 13:30:42.000000000 +0100
@@ -18,10 +18,6 @@
 	  with reasonable minimum requirements.  The Xtensa Linux project has
 	  a home page at <http://xtensa.sourceforge.net/>.
 
-config UID16
-	bool
-	default n
-
 config RWSEM_XCHGADD_ALGORITHM
 	bool
 	default y


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [-mm patch] more UID16 fixes
  2006-01-08 12:41 [-mm patch] more UID16 fixes Adrian Bunk
@ 2006-01-08 17:03 ` Matt Mackall
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Mackall @ 2006-01-08 17:03 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Andrew Morton, linux-kernel

On Sun, Jan 08, 2006 at 01:41:19PM +0100, Adrian Bunk wrote:
> It seems the "make UID16 support optional" patch was checked when it 
> edited the -tiny tree some time ago, but it wasn't checked whether it
> still matches the current situation when it was submitted for inclusion 
> in -mm. This patch fixes the following bugs:
> - ARCH_S390X does no longer exist, nowadays this has to be expressed
>   through (S390 && 64BIT)
> - in five architecture specific Kconfig files the UID16 options
>   weren't removed
> 
> Additionally, it changes the fragile negative dependencies of UID16 to 
> positive dependencies (new architectures are more likely to not 
> require UID16 support).

Yeah, that's a better approach. Thanks.

> Signed-off-by: Adrian Bunk <bunk@stusta.de>

Signed-off-by: Matt Mackall <mpm@selenic.com>

-- 
Mathematics is the supreme nostalgia of our time.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-08 17:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-08 12:41 [-mm patch] more UID16 fixes Adrian Bunk
2006-01-08 17:03 ` Matt Mackall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).