aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/acpi')
-rw-r--r--arch/i386/kernel/acpi/boot.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c
index 56818cf5bc40..fb3e72328a5a 100644
--- a/arch/i386/kernel/acpi/boot.c
+++ b/arch/i386/kernel/acpi/boot.c
@@ -616,6 +616,7 @@ static int __init acpi_parse_sbf(struct acpi_table_header *table)
616} 616}
617 617
618#ifdef CONFIG_HPET_TIMER 618#ifdef CONFIG_HPET_TIMER
619#include <asm/hpet.h>
619 620
620static int __init acpi_parse_hpet(struct acpi_table_header *table) 621static int __init acpi_parse_hpet(struct acpi_table_header *table)
621{ 622{
@@ -646,24 +647,11 @@ static int __init acpi_parse_hpet(struct acpi_table_header *table)
646 hpet_res->end = (1 * 1024) - 1; 647 hpet_res->end = (1 * 1024) - 1;
647 } 648 }
648 649
649#ifdef CONFIG_X86_64 650 hpet_address = hpet_tbl->address.address;
650 vxtime.hpet_address = hpet_tbl->address.address;
651
652 printk(KERN_INFO PREFIX "HPET id: %#x base: %#lx\n", 651 printk(KERN_INFO PREFIX "HPET id: %#x base: %#lx\n",
653 hpet_tbl->id, vxtime.hpet_address); 652 hpet_tbl->id, hpet_address);
654
655 res_start = vxtime.hpet_address;
656#else /* X86 */
657 {
658 extern unsigned long hpet_address;
659 653
660 hpet_address = hpet_tbl->address.address; 654 res_start = hpet_address;
661 printk(KERN_INFO PREFIX "HPET id: %#x base: %#lx\n",
662 hpet_tbl->id, hpet_address);
663
664 res_start = hpet_address;
665 }
666#endif /* X86 */
667 655
668 if (hpet_res) { 656 if (hpet_res) {
669 hpet_res->start = res_start; 657 hpet_res->start = res_start;