Skip to content

Commit fa453a6

Browse files
committed
Merge branch 'for-linus-3.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
Pull UML changes from Richard Weinberger: "Mostly bug fixes and cleanups" * 'for-linus-3.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml: (35 commits) um: Update defconfig um: Switch to large mcmodel on x86_64 MTD: Relax dependencies um: Wire CONFIG_GENERIC_IO up um: Serve io_remap_pfn_range() Introduce CONFIG_GENERIC_IO um: allow SUBARCH=x86 um: most of the SUBARCH uses can be killed um: deadlock in line_write_interrupt() um: don't bother trying to rebuild CHECKFLAGS for USER_OBJS um: use the right ifdef around exports in user_syms.c um: a bunch of headers can be killed by using generic-y um: ptrace-generic.h doesn't need user.h um: kill HOST_TASK_PID um: remove pointless include of asm/fixmap.h from asm/pgtable.h um: asm-offsets.h might as well come from underlying arch... um: merge processor_{32,64}.h a bit... um: switch close_chan() to struct line um: race fix: initialize delayed_work *before* registering IRQ um: line->have_irq is never checked... ...
2 parents 30eebb5 + 3463ff4 commit fa453a6

54 files changed

Lines changed: 813 additions & 733 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎arch/um/Kconfig.common‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ config UML
99
select HAVE_GENERIC_HARDIRQS
1010
select GENERIC_IRQ_SHOW
1111
select GENERIC_CPU_DEVICES
12+
select GENERIC_IO
1213

1314
config MMU
1415
bool

‎arch/um/Makefile‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ ifeq ($(SUBARCH),i386)
2828
endif
2929
ifeq ($(SUBARCH),x86_64)
3030
HEADER_ARCH := x86
31+
KBUILD_CFLAGS += -mcmodel=large
3132
endif
3233

3334
HOST_DIR := arch/$(HEADER_ARCH)
@@ -50,7 +51,7 @@ KBUILD_CPPFLAGS += -I$(srctree)/$(HOST_DIR)/um
5051
#
5152
# These apply to USER_CFLAGS to.
5253

53-
KBUILD_CFLAGS += $(CFLAGS) $(CFLAGS-y) -D__arch_um__ -DSUBARCH=\"$(SUBARCH)\" \
54+
KBUILD_CFLAGS += $(CFLAGS) $(CFLAGS-y) -D__arch_um__ \
5455
$(ARCH_INCLUDE) $(MODE_INCLUDE) -Dvmap=kernel_vmap \
5556
-Din6addr_loopback=kernel_in6addr_loopback \
5657
-Din6addr_any=kernel_in6addr_any -Dstrrchr=kernel_strrchr
@@ -99,7 +100,7 @@ KBUILD_KCONFIG := $(HOST_DIR)/um/Kconfig
99100

100101
archheaders:
101102
$(Q)$(MAKE) -C '$(srctree)' KBUILD_SRC= \
102-
ARCH=$(SUBARCH) O='$(objtree)' archheaders
103+
ARCH=$(HEADER_ARCH) O='$(objtree)' archheaders
103104

104105
archprepare: include/generated/user_constants.h
105106

0 commit comments

Comments
 (0)