[patch 0/8] uml: important patches to merge before 2.6.11

From: Blaisorblade
Date: Fri Feb 04 2005 - 15:10:04 EST


Andrew Morton, these are needed fixes for UML to go in before 2.6.11 release.

These patches also depend onto the just sent-and-merged (in the BitKeeper
repository) "[PATCH] UML - compile fixes for 2.6.11-rc3".

Finally, you also confirmed on "Fri Jan 28 23:10:28 2005" that you have
pending this patch, which is not yet applied in -rc3, nor is in
2.6.11-rc2-mm2 or 2.6.11-rc3-mm1 for what I see:

uml-kconfig_arch-little-cleanup-to-merge-before-2611.patch

We'd need it merged too, as marked in the name (it removes a file which is
actually a symlink but went into the tree, i.e. arch/um/Kconfig_arch).

I'm resending it, too, as plain-text attachment. Please apply.

Thanks and regards
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade

arch/um/Kconfig_arch is actually a symlink, so
* Remove it from the tree.
* Make sure it is removed during make mrproper.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx>
---

linux-2.6.11-paolo/arch/um/Makefile | 8 ++++++--
linux-2.6.11/arch/um/Kconfig_arch | 16 ----------------
2 files changed, 6 insertions(+), 18 deletions(-)

diff -L arch/um/Kconfig_arch -puN arch/um/Kconfig_arch~uml-quick-fix-Makefile /dev/null
--- linux-2.6.11/arch/um/Kconfig_arch
+++ /dev/null 2005-01-24 17:16:49.498209144 +0100
@@ -1,16 +0,0 @@
-config 64_BIT
- bool
- default n
-
-config TOP_ADDR
- hex
- default 0xc0000000 if !HOST_2G_2G
- default 0x80000000 if HOST_2G_2G
-
-config 3_LEVEL_PGTABLES
- bool "Three-level pagetables"
- default n
- help
- Three-level pagetables will let UML have more than 4G of physical
- memory. All the memory that can't be mapped directly will be treated
- as high memory.
diff -puN arch/um/Makefile~uml-quick-fix-Makefile arch/um/Makefile
--- linux-2.6.11/arch/um/Makefile~uml-quick-fix-Makefile 2005-01-26 19:58:50.149680728 +0100
+++ linux-2.6.11-paolo/arch/um/Makefile 2005-01-26 19:58:50.152680272 +0100
@@ -20,8 +20,11 @@ SYMLINK_HEADERS := archparam.h system.h
arch-signal.h module.h vm-flags.h
SYMLINK_HEADERS := $(foreach header,$(SYMLINK_HEADERS),include/asm-um/$(header))

-# The "os" symlink is only used by arch/um/include/os.h, which includes
+# XXX: The "os" symlink is only used by arch/um/include/os.h, which includes
# ../os/include/file.h
+#
+# These are cleaned up during mrproper. Please DO NOT fix it again, this is
+# the Correct Thing(tm) to do!
ARCH_SYMLINKS = include/asm-um/arch $(ARCH_DIR)/include/sysdep $(ARCH_DIR)/os \
$(SYMLINK_HEADERS) $(ARCH_DIR)/include/uml-config.h

@@ -134,7 +137,8 @@ CLEAN_FILES += linux x.i gmon.out $(ARCH
$(GEN_HEADERS) $(ARCH_DIR)/include/skas_ptregs.h

MRPROPER_FILES += $(SYMLINK_HEADERS) $(ARCH_SYMLINKS) \
- $(addprefix $(ARCH_DIR)/kernel/,$(KERN_SYMLINKS)) $(ARCH_DIR)/os
+ $(addprefix $(ARCH_DIR)/kernel/,$(KERN_SYMLINKS)) $(ARCH_DIR)/os \
+ $(ARCH_DIR)/Kconfig_arch

archclean:
$(Q)$(MAKE) $(clean)=$(ARCH_DIR)/util
_