x86: fix show cpuinfo cpu number always zero
[wrt350n-kernel.git] / arch / x86 / kernel / Makefile_64
blob5a88890d8ee9a4561c956bbd4b6f293c9933cb8f
2 # Makefile for the linux kernel.
5 extra-y         := head_64.o head64.o init_task.o vmlinux.lds
6 CPPFLAGS_vmlinux.lds += -Ux86_64
7 EXTRA_AFLAGS    := -traditional
9 obj-y   := process_64.o signal_64.o entry_64.o traps_64.o irq_64.o \
10                 ptrace_64.o time_64.o ioport_64.o ldt_64.o setup_64.o i8259_64.o sys_x86_64.o \
11                 x8664_ksyms_64.o i387_64.o syscall_64.o vsyscall_64.o \
12                 setup64.o bootflag.o e820_64.o reboot_64.o quirks.o i8237.o \
13                 pci-dma_64.o pci-nommu_64.o alternative.o hpet.o tsc_64.o bugs_64.o \
14                 i8253.o
16 obj-$(CONFIG_STACKTRACE)        += stacktrace.o
17 obj-y                           += cpu/
18 obj-y                           += acpi/
19 obj-$(CONFIG_X86_MSR)           += msr.o
20 obj-$(CONFIG_MICROCODE)         += microcode.o
21 obj-$(CONFIG_X86_CPUID)         += cpuid.o
22 obj-$(CONFIG_SMP)               += smp_64.o smpboot_64.o trampoline_64.o tsc_sync.o
23 obj-y                           += apic_64.o  nmi_64.o
24 obj-y                           += io_apic_64.o mpparse_64.o genapic_64.o genapic_flat_64.o
25 obj-$(CONFIG_KEXEC)             += machine_kexec_64.o relocate_kernel_64.o crash.o
26 obj-$(CONFIG_CRASH_DUMP)        += crash_dump_64.o
27 obj-$(CONFIG_PM)                += suspend_64.o
28 obj-$(CONFIG_HIBERNATION)       += suspend_asm_64.o
29 obj-$(CONFIG_EARLY_PRINTK)      += early_printk.o
30 obj-$(CONFIG_GART_IOMMU)        += pci-gart_64.o aperture_64.o
31 obj-$(CONFIG_CALGARY_IOMMU)     += pci-calgary_64.o tce_64.o
32 obj-$(CONFIG_SWIOTLB)           += pci-swiotlb_64.o
33 obj-$(CONFIG_KPROBES)           += kprobes_64.o
34 obj-$(CONFIG_X86_PM_TIMER)      += pmtimer_64.o
35 obj-$(CONFIG_X86_VSMP)          += vsmp_64.o
36 obj-$(CONFIG_K8_NB)             += k8.o
37 obj-$(CONFIG_AUDIT)             += audit_64.o
39 obj-$(CONFIG_MODULES)           += module_64.o
40 obj-$(CONFIG_PCI)               += early-quirks.o
42 obj-y                           += topology.o
43 obj-y                           += pcspeaker.o
45 CFLAGS_vsyscall_64.o            := $(PROFILING) -g0