diff options
author | Roland McGrath <roland@redhat.com> | 2008-01-30 07:31:50 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:50 -0500 |
commit | 4421011120b2304e5c248ae4165a2704588aedf1 (patch) | |
tree | b715f9bd5fbe3493a2c6a14d0c30832c42832e62 /arch/x86/kernel/Makefile_64 | |
parent | b7b71725fb9584454bfe5f231223bd63421798fb (diff) |
x86: x86 i387 user_regset
This revamps the i387 code to be shared across 32-bit, 64-bit,
and 32-on-64. It does so by consolidating the code in one place
based on the user_regset accessor interfaces. This switches
32-bit to using the i387_64.h header and 64-bit to using the
i387.c that was previously i387_32.c, but that's what took the
least cleanup in each file. Here i387.h is stubbed to always
include i387_64.h rather than renaming the file, to keep this
diff smaller and easier to read.
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/Makefile_64')
-rw-r--r-- | arch/x86/kernel/Makefile_64 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/Makefile_64 b/arch/x86/kernel/Makefile_64 index fbb370071239..7fcf972aa5d6 100644 --- a/arch/x86/kernel/Makefile_64 +++ b/arch/x86/kernel/Makefile_64 | |||
@@ -7,7 +7,7 @@ CPPFLAGS_vmlinux.lds += -Ux86_64 | |||
7 | 7 | ||
8 | obj-y := process_64.o signal_64.o entry_64.o traps_64.o irq_64.o \ | 8 | obj-y := process_64.o signal_64.o entry_64.o traps_64.o irq_64.o \ |
9 | time_64.o ioport_64.o ldt.o setup_64.o i8259_64.o sys_x86_64.o \ | 9 | time_64.o ioport_64.o ldt.o setup_64.o i8259_64.o sys_x86_64.o \ |
10 | x8664_ksyms_64.o i387_64.o syscall_64.o vsyscall_64.o \ | 10 | x8664_ksyms_64.o syscall_64.o vsyscall_64.o \ |
11 | setup64.o bootflag.o e820_64.o reboot_64.o quirks.o i8237.o \ | 11 | setup64.o bootflag.o e820_64.o reboot_64.o quirks.o i8237.o \ |
12 | pci-dma_64.o pci-nommu_64.o alternative.o hpet.o tsc_64.o bugs_64.o \ | 12 | pci-dma_64.o pci-nommu_64.o alternative.o hpet.o tsc_64.o bugs_64.o \ |
13 | i8253.o io_delay.o rtc.o | 13 | i8253.o io_delay.o rtc.o |
@@ -16,6 +16,7 @@ obj-y += ptrace.o | |||
16 | obj-y += ds.o | 16 | obj-y += ds.o |
17 | obj-y += step.o | 17 | obj-y += step.o |
18 | 18 | ||
19 | obj-y += i387.o | ||
19 | obj-$(CONFIG_IA32_EMULATION) += tls.o | 20 | obj-$(CONFIG_IA32_EMULATION) += tls.o |
20 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | 21 | obj-$(CONFIG_STACKTRACE) += stacktrace.o |
21 | obj-y += cpu/ | 22 | obj-y += cpu/ |