Merge branch 'x86/mm' into x86/asm, to unify the two branches for simplicity
Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
static struct apic apic_physflat;
|
||||
static struct apic apic_flat;
|
||||
|
||||
struct apic __read_mostly *apic = &apic_flat;
|
||||
struct apic *apic __ro_after_init = &apic_flat;
|
||||
EXPORT_SYMBOL_GPL(apic);
|
||||
|
||||
static int flat_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
|
||||
@@ -154,7 +154,7 @@ static int flat_probe(void)
|
||||
return 1;
|
||||
}
|
||||
|
||||
static struct apic apic_flat = {
|
||||
static struct apic apic_flat __ro_after_init = {
|
||||
.name = "flat",
|
||||
.probe = flat_probe,
|
||||
.acpi_madt_oem_check = flat_acpi_madt_oem_check,
|
||||
@@ -248,7 +248,7 @@ static int physflat_probe(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct apic apic_physflat = {
|
||||
static struct apic apic_physflat __ro_after_init = {
|
||||
|
||||
.name = "physical flat",
|
||||
.probe = physflat_probe,
|
||||
|
@@ -108,7 +108,7 @@ static void noop_apic_write(u32 reg, u32 v)
|
||||
WARN_ON_ONCE(boot_cpu_has(X86_FEATURE_APIC) && !disable_apic);
|
||||
}
|
||||
|
||||
struct apic apic_noop = {
|
||||
struct apic apic_noop __ro_after_init = {
|
||||
.name = "noop",
|
||||
.probe = noop_probe,
|
||||
.acpi_madt_oem_check = NULL,
|
||||
|
@@ -142,7 +142,7 @@ static int probe_bigsmp(void)
|
||||
return dmi_bigsmp;
|
||||
}
|
||||
|
||||
static struct apic apic_bigsmp = {
|
||||
static struct apic apic_bigsmp __ro_after_init = {
|
||||
|
||||
.name = "bigsmp",
|
||||
.probe = probe_bigsmp,
|
||||
|
@@ -269,7 +269,7 @@ static void hpet_msi_write_msg(struct irq_data *data, struct msi_msg *msg)
|
||||
hpet_msi_write(irq_data_get_irq_handler_data(data), msg);
|
||||
}
|
||||
|
||||
static struct irq_chip hpet_msi_controller = {
|
||||
static struct irq_chip hpet_msi_controller __ro_after_init = {
|
||||
.name = "HPET-MSI",
|
||||
.irq_unmask = hpet_msi_unmask,
|
||||
.irq_mask = hpet_msi_mask,
|
||||
|
@@ -72,7 +72,7 @@ static int probe_default(void)
|
||||
return 1;
|
||||
}
|
||||
|
||||
static struct apic apic_default = {
|
||||
static struct apic apic_default __ro_after_init = {
|
||||
|
||||
.name = "default",
|
||||
.probe = probe_default,
|
||||
@@ -126,7 +126,7 @@ static struct apic apic_default = {
|
||||
|
||||
apic_driver(apic_default);
|
||||
|
||||
struct apic *apic = &apic_default;
|
||||
struct apic *apic __ro_after_init = &apic_default;
|
||||
EXPORT_SYMBOL_GPL(apic);
|
||||
|
||||
static int cmdline_apic __initdata;
|
||||
|
@@ -227,7 +227,7 @@ static void cluster_vector_allocation_domain(int cpu, struct cpumask *retmask,
|
||||
cpumask_and(retmask, mask, per_cpu(cpus_in_cluster, cpu));
|
||||
}
|
||||
|
||||
static struct apic apic_x2apic_cluster = {
|
||||
static struct apic apic_x2apic_cluster __ro_after_init = {
|
||||
|
||||
.name = "cluster x2apic",
|
||||
.probe = x2apic_cluster_probe,
|
||||
|
@@ -98,7 +98,7 @@ static int x2apic_phys_probe(void)
|
||||
return apic == &apic_x2apic_phys;
|
||||
}
|
||||
|
||||
static struct apic apic_x2apic_phys = {
|
||||
static struct apic apic_x2apic_phys __ro_after_init = {
|
||||
|
||||
.name = "physical x2apic",
|
||||
.probe = x2apic_phys_probe,
|
||||
|
@@ -560,7 +560,7 @@ static int uv_probe(void)
|
||||
return apic == &apic_x2apic_uv_x;
|
||||
}
|
||||
|
||||
static struct apic __refdata apic_x2apic_uv_x = {
|
||||
static struct apic apic_x2apic_uv_x __ro_after_init = {
|
||||
|
||||
.name = "UV large system",
|
||||
.probe = uv_probe,
|
||||
|
Reference in New Issue
Block a user