diff options
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 54 |
1 files changed, 28 insertions, 26 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index a6efe0a2e9ae..68f5578fe38e 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 | ||
50 | config OUTPUT_FORMAT | ||
51 | string | ||
52 | default "elf32-i386" if X86_32 | ||
53 | default "elf64-x86-64" if X86_64 | ||
54 | |||
50 | config ARCH_DEFCONFIG | 55 | config 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 |
@@ -274,15 +279,9 @@ config SPARSE_IRQ | |||
274 | 279 | ||
275 | If you don't know what to do here, say N. | 280 | If you don't know what to do here, say N. |
276 | 281 | ||
277 | config NUMA_MIGRATE_IRQ_DESC | 282 | config NUMA_IRQ_DESC |
278 | bool "Move irq desc when changing irq smp_affinity" | 283 | def_bool y |
279 | depends on SPARSE_IRQ && NUMA | 284 | depends on SPARSE_IRQ && NUMA |
280 | depends on BROKEN | ||
281 | default n | ||
282 | ---help--- | ||
283 | This enables moving irq_desc to cpu/node that irq will use handled. | ||
284 | |||
285 | If you don't know what to do here, say N. | ||
286 | 285 | ||
287 | config X86_MPPARSE | 286 | config X86_MPPARSE |
288 | bool "Enable MPS table" if ACPI | 287 | bool "Enable MPS table" if ACPI |
@@ -355,7 +354,7 @@ config X86_UV | |||
355 | depends on X86_64 | 354 | depends on X86_64 |
356 | depends on X86_EXTENDED_PLATFORM | 355 | depends on X86_EXTENDED_PLATFORM |
357 | depends on NUMA | 356 | depends on NUMA |
358 | select X86_X2APIC | 357 | depends on X86_X2APIC |
359 | ---help--- | 358 | ---help--- |
360 | This option is needed in order to support SGI Ultraviolet systems. | 359 | This option is needed in order to support SGI Ultraviolet systems. |
361 | If you don't have one of these, you should say N here. | 360 | If you don't have one of these, you should say N here. |
@@ -740,6 +739,7 @@ config X86_UP_IOAPIC | |||
740 | config X86_LOCAL_APIC | 739 | config X86_LOCAL_APIC |
741 | def_bool y | 740 | def_bool y |
742 | 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) | ||
743 | 743 | ||
744 | config X86_IO_APIC | 744 | config X86_IO_APIC |
745 | def_bool y | 745 | def_bool y |
@@ -1466,9 +1466,7 @@ config KEXEC_JUMP | |||
1466 | 1466 | ||
1467 | config PHYSICAL_START | 1467 | config PHYSICAL_START |
1468 | hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP) | 1468 | hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP) |
1469 | default "0x1000000" if X86_NUMAQ | 1469 | default "0x1000000" |
1470 | default "0x200000" if X86_64 | ||
1471 | default "0x100000" | ||
1472 | ---help--- | 1470 | ---help--- |
1473 | This gives the physical address where the kernel is loaded. | 1471 | This gives the physical address where the kernel is loaded. |
1474 | 1472 | ||
@@ -1487,15 +1485,15 @@ config PHYSICAL_START | |||
1487 | to be specifically compiled to run from a specific memory area | 1485 | to be specifically compiled to run from a specific memory area |
1488 | (normally a reserved region) and this option comes handy. | 1486 | (normally a reserved region) and this option comes handy. |
1489 | 1487 | ||
1490 | So if you are using bzImage for capturing the crash dump, leave | 1488 | So if you are using bzImage for capturing the crash dump, |
1491 | the value here unchanged to 0x100000 and set CONFIG_RELOCATABLE=y. | 1489 | leave the value here unchanged to 0x1000000 and set |
1492 | Otherwise if you plan to use vmlinux for capturing the crash dump | 1490 | CONFIG_RELOCATABLE=y. Otherwise if you plan to use vmlinux |
1493 | change this value to start of the reserved region (Typically 16MB | 1491 | for capturing the crash dump change this value to start of |
1494 | 0x1000000). In other words, it can be set based on the "X" value as | 1492 | the reserved region. In other words, it can be set based on |
1495 | specified in the "crashkernel=YM@XM" command line boot parameter | 1493 | the "X" value as specified in the "crashkernel=YM@XM" |
1496 | passed to the panic-ed kernel. Typically this parameter is set as | 1494 | command line boot parameter passed to the panic-ed |
1497 | crashkernel=64M@16M. Please take a look at | 1495 | kernel. Please take a look at Documentation/kdump/kdump.txt |
1498 | Documentation/kdump/kdump.txt for more details about crash dumps. | 1496 | for more details about crash dumps. |
1499 | 1497 | ||
1500 | Usage of bzImage for capturing the crash dump is recommended as | 1498 | Usage of bzImage for capturing the crash dump is recommended as |
1501 | one does not have to build two kernels. Same kernel can be used | 1499 | one does not have to build two kernels. Same kernel can be used |
@@ -1508,8 +1506,8 @@ config PHYSICAL_START | |||
1508 | Don't change this unless you know what you are doing. | 1506 | Don't change this unless you know what you are doing. |
1509 | 1507 | ||
1510 | config RELOCATABLE | 1508 | config RELOCATABLE |
1511 | bool "Build a relocatable kernel (EXPERIMENTAL)" | 1509 | bool "Build a relocatable kernel" |
1512 | depends on EXPERIMENTAL | 1510 | default y |
1513 | ---help--- | 1511 | ---help--- |
1514 | This builds a kernel image that retains relocation information | 1512 | This builds a kernel image that retains relocation information |
1515 | so it can be loaded someplace besides the default 1MB. | 1513 | so it can be loaded someplace besides the default 1MB. |
@@ -1524,12 +1522,16 @@ config RELOCATABLE | |||
1524 | it has been loaded at and the compile time physical address | 1522 | it has been loaded at and the compile time physical address |
1525 | (CONFIG_PHYSICAL_START) is ignored. | 1523 | (CONFIG_PHYSICAL_START) is ignored. |
1526 | 1524 | ||
1525 | # Relocation on x86-32 needs some additional build support | ||
1526 | config X86_NEED_RELOCS | ||
1527 | def_bool y | ||
1528 | depends on X86_32 && RELOCATABLE | ||
1529 | |||
1527 | config PHYSICAL_ALIGN | 1530 | config PHYSICAL_ALIGN |
1528 | hex | 1531 | hex |
1529 | prompt "Alignment value to which kernel should be aligned" if X86_32 | 1532 | prompt "Alignment value to which kernel should be aligned" if X86_32 |
1530 | default "0x100000" if X86_32 | 1533 | default "0x1000000" |
1531 | default "0x200000" if X86_64 | 1534 | range 0x2000 0x1000000 |
1532 | range 0x2000 0x400000 | ||
1533 | ---help--- | 1535 | ---help--- |
1534 | This value puts the alignment restrictions on physical address | 1536 | This value puts the alignment restrictions on physical address |
1535 | where kernel is loaded and run from. Kernel is compiled for an | 1537 | where kernel is loaded and run from. Kernel is compiled for an |