aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-06-11 17:31:52 -0400
committerIngo Molnar <mingo@elte.hu>2009-06-11 17:31:52 -0400
commit0d5959723e1db3fd7323c198a50c16cecf96c7a9 (patch)
tree802b623fff261ebcbbddadf84af5524398364a18 /arch/x86/Kconfig
parent62fdac5913f71f8f200bd2c9bd59a02e9a1498e9 (diff)
parent512626a04e72aca60effe111fa0333ed0b195d21 (diff)
Merge branch 'linus' into x86/mce3
Conflicts: arch/x86/kernel/cpu/mcheck/mce_64.c arch/x86/kernel/irq.c Merge reason: Resolve the conflicts above. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig42
1 files changed, 25 insertions, 17 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index afd1168eeefb..356d2ec8e2fb 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -47,6 +47,11 @@ config X86
47 select HAVE_KERNEL_BZIP2 47 select HAVE_KERNEL_BZIP2
48 select HAVE_KERNEL_LZMA 48 select HAVE_KERNEL_LZMA
49 49
50config OUTPUT_FORMAT
51 string
52 default "elf32-i386" if X86_32
53 default "elf64-x86-64" if X86_64
54
50config ARCH_DEFCONFIG 55config ARCH_DEFCONFIG
51 string 56 string
52 default "arch/x86/configs/i386_defconfig" if X86_32 57 default "arch/x86/configs/i386_defconfig" if X86_32
@@ -734,6 +739,7 @@ config X86_UP_IOAPIC
734config X86_LOCAL_APIC 739config X86_LOCAL_APIC
735 def_bool y 740 def_bool y
736 depends on X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_APIC 741 depends on X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_APIC
742 select HAVE_PERF_COUNTERS if (!M386 && !M486)
737 743
738config X86_IO_APIC 744config X86_IO_APIC
739 def_bool y 745 def_bool y
@@ -1497,9 +1503,7 @@ config KEXEC_JUMP
1497 1503
1498config PHYSICAL_START 1504config PHYSICAL_START
1499 hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP) 1505 hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP)
1500 default "0x1000000" if X86_NUMAQ 1506 default "0x1000000"
1501 default "0x200000" if X86_64
1502 default "0x100000"
1503 ---help--- 1507 ---help---
1504 This gives the physical address where the kernel is loaded. 1508 This gives the physical address where the kernel is loaded.
1505 1509
@@ -1518,15 +1522,15 @@ config PHYSICAL_START
1518 to be specifically compiled to run from a specific memory area 1522 to be specifically compiled to run from a specific memory area
1519 (normally a reserved region) and this option comes handy. 1523 (normally a reserved region) and this option comes handy.
1520 1524
1521 So if you are using bzImage for capturing the crash dump, leave 1525 So if you are using bzImage for capturing the crash dump,
1522 the value here unchanged to 0x100000 and set CONFIG_RELOCATABLE=y. 1526 leave the value here unchanged to 0x1000000 and set
1523 Otherwise if you plan to use vmlinux for capturing the crash dump 1527 CONFIG_RELOCATABLE=y. Otherwise if you plan to use vmlinux
1524 change this value to start of the reserved region (Typically 16MB 1528 for capturing the crash dump change this value to start of
1525 0x1000000). In other words, it can be set based on the "X" value as 1529 the reserved region. In other words, it can be set based on
1526 specified in the "crashkernel=YM@XM" command line boot parameter 1530 the "X" value as specified in the "crashkernel=YM@XM"
1527 passed to the panic-ed kernel. Typically this parameter is set as 1531 command line boot parameter passed to the panic-ed
1528 crashkernel=64M@16M. Please take a look at 1532 kernel. Please take a look at Documentation/kdump/kdump.txt
1529 Documentation/kdump/kdump.txt for more details about crash dumps. 1533 for more details about crash dumps.
1530 1534
1531 Usage of bzImage for capturing the crash dump is recommended as 1535 Usage of bzImage for capturing the crash dump is recommended as
1532 one does not have to build two kernels. Same kernel can be used 1536 one does not have to build two kernels. Same kernel can be used
@@ -1539,8 +1543,8 @@ config PHYSICAL_START
1539 Don't change this unless you know what you are doing. 1543 Don't change this unless you know what you are doing.
1540 1544
1541config RELOCATABLE 1545config RELOCATABLE
1542 bool "Build a relocatable kernel (EXPERIMENTAL)" 1546 bool "Build a relocatable kernel"
1543 depends on EXPERIMENTAL 1547 default y
1544 ---help--- 1548 ---help---
1545 This builds a kernel image that retains relocation information 1549 This builds a kernel image that retains relocation information
1546 so it can be loaded someplace besides the default 1MB. 1550 so it can be loaded someplace besides the default 1MB.
@@ -1555,12 +1559,16 @@ config RELOCATABLE
1555 it has been loaded at and the compile time physical address 1559 it has been loaded at and the compile time physical address
1556 (CONFIG_PHYSICAL_START) is ignored. 1560 (CONFIG_PHYSICAL_START) is ignored.
1557 1561
1562# Relocation on x86-32 needs some additional build support
1563config X86_NEED_RELOCS
1564 def_bool y
1565 depends on X86_32 && RELOCATABLE
1566
1558config PHYSICAL_ALIGN 1567config PHYSICAL_ALIGN
1559 hex 1568 hex
1560 prompt "Alignment value to which kernel should be aligned" if X86_32 1569 prompt "Alignment value to which kernel should be aligned" if X86_32
1561 default "0x100000" if X86_32 1570 default "0x1000000"
1562 default "0x200000" if X86_64 1571 range 0x2000 0x1000000
1563 range 0x2000 0x400000
1564 ---help--- 1572 ---help---
1565 This value puts the alignment restrictions on physical address 1573 This value puts the alignment restrictions on physical address
1566 where kernel is loaded and run from. Kernel is compiled for an 1574 where kernel is loaded and run from. Kernel is compiled for an