|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] x86: drop fake CONFIG_{HPET,X86_PM}_TIMER
commit 8fc9852324a9d91c7aa0b9d733c501f2138e1a27
Author: Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Mon Jan 11 14:56:53 2021 +0100
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Jan 11 14:56:53 2021 +0100
x86: drop fake CONFIG_{HPET,X86_PM}_TIMER
I don't think we mean to ever make them real Kconfig options, so let's
just do away with them.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
xen/arch/x86/acpi/boot.c | 9 ---------
xen/include/asm-x86/config.h | 2 --
2 files changed, 11 deletions(-)
diff --git a/xen/arch/x86/acpi/boot.c b/xen/arch/x86/acpi/boot.c
index d8c355a02f..0999af9d9d 100644
--- a/xen/arch/x86/acpi/boot.c
+++ b/xen/arch/x86/acpi/boot.c
@@ -37,9 +37,7 @@
#include <asm/io.h>
#include <asm/mpspec.h>
#include <asm/processor.h>
-#ifdef CONFIG_HPET_TIMER
#include <asm/hpet.h> /* for hpet_address */
-#endif
#include <mach_apic.h>
#include <mach_mpparse.h>
@@ -272,8 +270,6 @@ acpi_parse_nmi_src(struct acpi_subtable_header * header,
const unsigned long end
return 0;
}
-#ifdef CONFIG_HPET_TIMER
-
static int __init acpi_parse_hpet(struct acpi_table_header *table)
{
const struct acpi_table_hpet *hpet_tbl =
@@ -309,9 +305,6 @@ static int __init acpi_parse_hpet(struct acpi_table_header
*table)
return 0;
}
-#else
-#define acpi_parse_hpet NULL
-#endif
static int __init acpi_invalidate_bgrt(struct acpi_table_header *table)
{
@@ -484,7 +477,6 @@ static int __init acpi_parse_fadt(struct acpi_table_header
*table)
fadt->force_apic_physical_destination_mode;
#endif
-#ifdef CONFIG_X86_PM_TIMER
/* detect the location of the ACPI PM Timer */
if (fadt->header.revision >= FADT2_REVISION_ID &&
fadt->xpm_timer_block.space_id == ACPI_ADR_SPACE_SYSTEM_IO) {
@@ -517,7 +509,6 @@ static int __init acpi_parse_fadt(struct acpi_table_header
*table)
if (pmtmr_ioport)
printk(KERN_INFO PREFIX "PM-Timer IO Port: %#x (%u bits)\n",
pmtmr_ioport, pmtmr_width);
-#endif
acpi_smi_cmd = fadt->smi_command;
acpi_enable_value = fadt->acpi_enable;
diff --git a/xen/include/asm-x86/config.h b/xen/include/asm-x86/config.h
index eb25fc4758..74406f0239 100644
--- a/xen/include/asm-x86/config.h
+++ b/xen/include/asm-x86/config.h
@@ -19,8 +19,6 @@
#define BITS_PER_XEN_ULONG BITS_PER_LONG
-#define CONFIG_X86_PM_TIMER 1
-#define CONFIG_HPET_TIMER 1
#define CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS 1
#define CONFIG_DISCONTIGMEM 1
#define CONFIG_NUMA_EMU 1
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |