Commit 8f103851 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[PATCH] UML preparation - infrastructure

This patch (against 2.5.30) contains all of the changes to generic code
needed by UML.

CREDITS -
	Changes my address and adds a UML credit for Lars Brinkoff.

MAINTAINERS -
	Adds a UML entry.

Makefile -
	When ARCH=um is on the command line to do a UML build, the old value
	of ARCH is saved in $(SUBARCH) for the later use of the UML build.

drivers/char/Makefile -
	Sets KEYMAP, KEYBD, CONSOLE empty to prevent hardware drivers from
	being compiled in.

drivers/net/setup.c -
	Backs out a UML hook which leaked into your tree which UML no
	longer uses.
parent 7d45b60a
...@@ -433,6 +433,7 @@ N: Lars Brinkhoff ...@@ -433,6 +433,7 @@ N: Lars Brinkhoff
E: lars@nocrew.org E: lars@nocrew.org
W: http://lars.nocrew.org/ W: http://lars.nocrew.org/
D: dsp56k device driver D: dsp56k device driver
D: ptrace proxy in user mode kernel port
S: Kopmansg 2 S: Kopmansg 2
S: 411 13 Goteborg S: 411 13 Goteborg
S: Sweden S: Sweden
...@@ -730,7 +731,7 @@ N: Jeff Dike ...@@ -730,7 +731,7 @@ N: Jeff Dike
E: jdike@karaya.com E: jdike@karaya.com
W: http://user-mode-linux.sourceforge.net W: http://user-mode-linux.sourceforge.net
D: User mode kernel port D: User mode kernel port
S: RR1 Box 67C S: 375 Tubbs Hill Rd
S: Deering NH 03244 S: Deering NH 03244
S: USA S: USA
......
...@@ -1852,6 +1852,14 @@ M: dbrownell@users.sourceforge.net ...@@ -1852,6 +1852,14 @@ M: dbrownell@users.sourceforge.net
L: linux-usb-devel@lists.sourceforge.net L: linux-usb-devel@lists.sourceforge.net
S: Maintained S: Maintained
USER-MODE LINUX
P: Jeff Dike
M: jdike@karaya.com
L: user-mode-linux-devel@lists.sourceforge.net
L: user-mode-linux-user@lists.sourceforge.net
W: http://user-mode-linux.sourceforge.net
S: Maintained
VFAT FILESYSTEM: VFAT FILESYSTEM:
P: Gordon Chaffee P: Gordon Chaffee
M: chaffee@cs.berkeley.edu M: chaffee@cs.berkeley.edu
......
...@@ -27,7 +27,15 @@ EXTRAVERSION = ...@@ -27,7 +27,15 @@ EXTRAVERSION =
KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/) # SUBARCH tells the usermode build what the underlying arch is. That is set
# first, and if a usermode build is happening, the "ARCH=um" on the command
# line overrides the setting of ARCH below. If a native build is happening,
# then ARCH is assigned, getting whatever value it gets normally, and
# SUBARCH is subsequently ignored.
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
ARCH := $(SUBARCH)
KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e "s/-//g") KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e "s/-//g")
CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
......
...@@ -65,6 +65,12 @@ ifeq ($(ARCH),arm) ...@@ -65,6 +65,12 @@ ifeq ($(ARCH),arm)
endif endif
endif endif
ifeq ($(ARCH),um)
KEYMAP =
KEYBD =
CONSOLE =
endif
ifeq ($(ARCH),sh) ifeq ($(ARCH),sh)
KEYMAP = KEYMAP =
KEYBD = KEYBD =
......
...@@ -28,7 +28,6 @@ extern int comx_init(void); ...@@ -28,7 +28,6 @@ extern int comx_init(void);
extern int lmc_setup(void); extern int lmc_setup(void);
extern int madgemc_probe(void); extern int madgemc_probe(void);
extern int uml_net_probe(void);
/* Pad device name to IFNAMSIZ=16. F.e. __PAD6 is string of 9 zeros. */ /* Pad device name to IFNAMSIZ=16. F.e. __PAD6 is string of 9 zeros. */
#define __PAD6 "\0\0\0\0\0\0\0\0\0" #define __PAD6 "\0\0\0\0\0\0\0\0\0"
...@@ -103,9 +102,6 @@ static struct net_probe pci_probes[] __initdata = { ...@@ -103,9 +102,6 @@ static struct net_probe pci_probes[] __initdata = {
#ifdef CONFIG_MADGEMC #ifdef CONFIG_MADGEMC
{madgemc_probe, 0}, {madgemc_probe, 0},
#endif #endif
#ifdef CONFIG_UML_NET
{uml_net_probe, 0},
#endif
{NULL, 0}, {NULL, 0},
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment