]> xenbits.xensource.com Git - xen.git/commitdiff
xen/x86: Drop useless non-Kconfig CONFIG_* variables
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 21 May 2024 17:07:09 +0000 (18:07 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 28 May 2024 16:26:39 +0000 (17:26 +0100)
These are all either completely unused, or do nothing useful.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Release-acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
xen/arch/x86/include/asm/config.h
xen/include/xen/acpi.h

index ab7288cb3682e30968d84b9cbe2ad682a86703f0..2a260a2581fd3fb0d5e19786825425028bf7b225 100644 (file)
@@ -20,7 +20,6 @@
 #define BITS_PER_XEN_ULONG BITS_PER_LONG
 
 #define CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS 1
-#define CONFIG_DISCONTIGMEM 1
 #define CONFIG_NUMA_EMU 1
 
 #define CONFIG_PAGEALLOC_MAX_ORDER (2 * PAGETABLE_ORDER)
@@ -30,7 +29,6 @@
 /* Intel P4 currently has largest cache line (L2 line size is 128 bytes). */
 #define CONFIG_X86_L1_CACHE_SHIFT 7
 
-#define CONFIG_ACPI_SRAT 1
 #define CONFIG_ACPI_CSTATE 1
 
 #define CONFIG_WATCHDOG 1
index e78e7e78525253bf4582bae2ea0e157703cfa8e1..bc4818c9430adac41c3b7ecb6974af6f40c263c0 100644 (file)
@@ -140,15 +140,6 @@ int get_cpu_id(u32 acpi_id);
 unsigned int acpi_register_gsi (u32 gsi, int edge_level, int active_high_low);
 int acpi_gsi_to_irq (u32 gsi, unsigned int *irq);
 
-/*
- * This function undoes the effect of one call to acpi_register_gsi().
- * If this matches the last registration, any IRQ resources for gsi
- * are freed.
- */
-#ifdef CONFIG_ACPI_DEALLOCATE_IRQ
-void acpi_unregister_gsi (u32 gsi);
-#endif
-
 #ifdef CONFIG_ACPI_CSTATE
 /*
  * max_cstate sets the highest legal C-state.