x86: rename ->ESR_DISABLE to ->disable_esr
authorIngo Molnar <mingo@elte.hu>
Wed, 28 Jan 2009 04:08:44 +0000 (05:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 28 Jan 2009 22:20:18 +0000 (23:20 +0100)
the ->ESR_DISABLE shouting variant was used to enable the esr_disable
macro wrappers. Those ugly macros are removed now so we can rename
->ESR_DISABLE to ->disable_esr

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/genapic.h
arch/x86/kernel/apic.c
arch/x86/kernel/genapic_flat_64.c
arch/x86/kernel/genx2apic_cluster.c
arch/x86/kernel/genx2apic_phys.c
arch/x86/kernel/genx2apic_uv_x.c
arch/x86/mach-generic/bigsmp.c
arch/x86/mach-generic/default.c
arch/x86/mach-generic/es7000.c
arch/x86/mach-generic/numaq.c
arch/x86/mach-generic/summit.c

index e998e3df5d23a5ba377b127192e67d0ea31eb20f..7aee4a4c5244cfb3b2246ab6087e0b21a3751fdc 100644 (file)
@@ -28,7 +28,7 @@ struct genapic {
 
        const struct cpumask *(*target_cpus)(void);
 
-       int ESR_DISABLE;
+       int disable_esr;
 
        int apic_destination_logical;
        unsigned long (*check_apicid_used)(physid_mask_t bitmap, int apicid);
index 69d8c30d5711da7fa627b7de21973d6076161e11..3853ed76c88817b7bd0fd120b46ca66921d27dec 100644 (file)
@@ -1107,7 +1107,7 @@ static void __cpuinit lapic_setup_esr(void)
                return;
        }
 
-       if (apic->ESR_DISABLE) {
+       if (apic->disable_esr) {
                /*
                 * Something untraceable is creating bad interrupts on
                 * secondary quads ... for the moment, just leave the
@@ -1157,7 +1157,7 @@ void __cpuinit setup_local_APIC(void)
 
 #ifdef CONFIG_X86_32
        /* Pound the ESR really hard over the head with a big hammer - mbligh */
-       if (lapic_is_integrated() && apic->ESR_DISABLE) {
+       if (lapic_is_integrated() && apic->disable_esr) {
                apic_write(APIC_ESR, 0);
                apic_write(APIC_ESR, 0);
                apic_write(APIC_ESR, 0);
index 0a263d6bb5e270908445c9d5abfd08cde5738b1b..d437a60cc5896be03e69538753aa25bf71cf74fb 100644 (file)
@@ -184,7 +184,7 @@ struct genapic apic_flat =  {
        .irq_dest_mode                  = (APIC_DEST_LOGICAL != 0),
 
        .target_cpus                    = flat_target_cpus,
-       .ESR_DISABLE                    = 0,
+       .disable_esr                    = 0,
        .apic_destination_logical       = 0,
        .check_apicid_used              = NULL,
        .check_apicid_present           = NULL,
@@ -330,7 +330,7 @@ struct genapic apic_physflat =  {
        .irq_dest_mode                  = (APIC_DEST_PHYSICAL != 0),
 
        .target_cpus                    = physflat_target_cpus,
-       .ESR_DISABLE                    = 0,
+       .disable_esr                    = 0,
        .apic_destination_logical       = 0,
        .check_apicid_used              = NULL,
        .check_apicid_present           = NULL,
index e9ff7dc9a0f6f2cb4f889439b670545d5c025b68..c1cffae4a4c2c81deb9c1d0343599331fbd6429a 100644 (file)
@@ -186,7 +186,7 @@ struct genapic apic_x2apic_cluster = {
        .irq_dest_mode                  = (APIC_DEST_LOGICAL != 0),
 
        .target_cpus                    = x2apic_target_cpus,
-       .ESR_DISABLE                    = 0,
+       .disable_esr                    = 0,
        .apic_destination_logical       = 0,
        .check_apicid_used              = NULL,
        .check_apicid_present           = NULL,
index 8141b5a88f61bc5eab600aa29b7f553ffa6b062c..c59602be0353e3990edc0bb7cefa5d52ceb734ce 100644 (file)
@@ -182,7 +182,7 @@ struct genapic apic_x2apic_phys = {
        .irq_dest_mode                  = (APIC_DEST_PHYSICAL != 0),
 
        .target_cpus                    = x2apic_target_cpus,
-       .ESR_DISABLE                    = 0,
+       .disable_esr                    = 0,
        .apic_destination_logical       = 0,
        .check_apicid_used              = NULL,
        .check_apicid_present           = NULL,
index 6a73cad0d3e965b8a497a0cb429527cf0d7f9745..525b4e480a73926c0f5a4dd4076392337080e2d7 100644 (file)
@@ -247,7 +247,7 @@ struct genapic apic_x2apic_uv_x = {
        .irq_dest_mode                  = (APIC_DEST_PHYSICAL != 0),
 
        .target_cpus                    = uv_target_cpus,
-       .ESR_DISABLE                    = 0,
+       .disable_esr                    = 0,
        .apic_destination_logical       = 0,
        .check_apicid_used              = NULL,
        .check_apicid_present           = NULL,
index f0bb72674f7301506b222aa51260bbd90b2366ea..fe9bf252c06930908db9b63469671d758e4d21fb 100644 (file)
@@ -69,7 +69,7 @@ struct genapic apic_bigsmp = {
        .irq_dest_mode                  = 0,
 
        .target_cpus                    = bigsmp_target_cpus,
-       .ESR_DISABLE                    = 1,
+       .disable_esr                    = 1,
        .apic_destination_logical       = APIC_DEST_LOGICAL,
        .check_apicid_used              = check_apicid_used,
        .check_apicid_present           = check_apicid_present,
index c30141a9aca06f91dd936d39228ea4a27557dcf9..d3fe8017e94a0f5d0315e517f61cdc08f428257d 100644 (file)
@@ -36,7 +36,7 @@ struct genapic apic_default = {
        .irq_dest_mode                  = 1,
 
        .target_cpus                    = default_target_cpus,
-       .ESR_DISABLE                    = 0,
+       .disable_esr                    = 0,
        .apic_destination_logical       = APIC_DEST_LOGICAL,
        .check_apicid_used              = check_apicid_used,
        .check_apicid_present           = check_apicid_present,
index e8aa8fd4f49fa15759c11a45c03c344a47ccd00c..b4f8abfb714f3fe9356b023f9a331e595f43d8de 100644 (file)
@@ -112,7 +112,7 @@ struct genapic apic_es7000 = {
        .irq_dest_mode                  = 0,
 
        .target_cpus                    = es7000_target_cpus,
-       .ESR_DISABLE                    = 1,
+       .disable_esr                    = 1,
        .apic_destination_logical       = APIC_DEST_LOGICAL,
        .check_apicid_used              = check_apicid_used,
        .check_apicid_present           = check_apicid_present,
index 860edc8bd9033a2c254e4e4e2a37902e7b0f4c99..f3b7840d227d7b24216934721ba9cdfbc264cded 100644 (file)
@@ -56,7 +56,7 @@ struct genapic apic_numaq = {
        .irq_dest_mode                  = 0,
 
        .target_cpus                    = numaq_target_cpus,
-       .ESR_DISABLE                    = 1,
+       .disable_esr                    = 1,
        .apic_destination_logical       = APIC_DEST_LOGICAL,
        .check_apicid_used              = check_apicid_used,
        .check_apicid_present           = check_apicid_present,
index cd5ef115a4ee20ded8eb1ef646595a467c9567aa..95e075b61bddde89a9e7bd95ab3644a4f0233cb4 100644 (file)
@@ -49,7 +49,7 @@ struct genapic apic_summit = {
        .irq_dest_mode                  = 1,
 
        .target_cpus                    = summit_target_cpus,
-       .ESR_DISABLE                    = 1,
+       .disable_esr                    = 1,
        .apic_destination_logical       = APIC_DEST_LOGICAL,
        .check_apicid_used              = check_apicid_used,
        .check_apicid_present           = check_apicid_present,