Skip to content

Commit c0c463d

Browse files
committed
Merge branches 'x86-urgent-for-linus', 'core-debug-for-linus', 'irq-core-for-linus' and 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: um: Make rwsem.S depend on CONFIG_RWSEM_XCHGADD_ALGORITHM * 'core-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: debug: Make CONFIG_EXPERT select CONFIG_DEBUG_KERNEL to unhide debug options * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: genirq: Remove unused CHECK_IRQ_PER_CPU() * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: perf tools, x86: Fix 32-bit compile on 64-bit system
5 parents e725421 + a03fc8c + f505c55 + a7de915 + 08a4a43 commit c0c463d

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

‎arch/um/sys-i386/Makefile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ obj-y = bug.o bugs.o checksum.o delay.o fault.o ksyms.o ldt.o ptrace.o \
88

99
obj-$(CONFIG_BINFMT_ELF) += elfcore.o
1010

11-
subarch-obj-y = lib/rwsem.o lib/string_32.o
11+
subarch-obj-y = lib/string_32.o
12+
subarch-obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += lib/rwsem.o
1213
subarch-obj-$(CONFIG_HIGHMEM) += mm/highmem_32.o
1314
subarch-obj-$(CONFIG_MODULES) += kernel/module.o
1415

‎include/linux/irq.h‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,6 @@ enum {
9696

9797
#define IRQ_NO_BALANCING_MASK (IRQ_PER_CPU | IRQ_NO_BALANCING)
9898

99-
static inline __deprecated bool CHECK_IRQ_PER_CPU(unsigned int status)
100-
{
101-
return status & IRQ_PER_CPU;
102-
}
103-
10499
/*
105100
* Return value for chip->irq_set_affinity()
106101
*

‎init/Kconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,8 @@ config ANON_INODES
917917

918918
menuconfig EXPERT
919919
bool "Configure standard kernel features (expert users)"
920+
# Unhide debug options, to make the on-by-default options visible
921+
select DEBUG_KERNEL
920922
help
921923
This option allows certain base kernel options and settings
922924
to be disabled or tweaked. This is for specialized

‎tools/perf/Makefile‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ ifeq ($(ARCH),i386)
5252
endif
5353
ifeq ($(ARCH),x86_64)
5454
ARCH := x86
55-
IS_X86_64 := $(shell echo __x86_64__ | ${CC} -E -xc - | tail -n 1)
55+
IS_X86_64 := 0
56+
ifeq (, $(findstring m32,$(EXTRA_CFLAGS)))
57+
IS_X86_64 := $(shell echo __x86_64__ | ${CC} -E -xc - | tail -n 1)
58+
endif
5659
ifeq (${IS_X86_64}, 1)
5760
RAW_ARCH := x86_64
5861
ARCH_CFLAGS := -DARCH_X86_64

0 commit comments

Comments
 (0)