]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: rename mpc_config_lintsrc to mpc_lintsrc
authorJaswinder Singh Rajput <jaswinder@infradead.org>
Sat, 3 Jan 2009 10:21:54 +0000 (15:51 +0530)
committerIngo Molnar <mingo@elte.hu>
Sun, 4 Jan 2009 12:23:02 +0000 (13:23 +0100)
Impact: cleanup, solve 80 columns wrap problems

mpc_config_lintsrc should be renamed to mpc_lintsrc.

The reason: the 'c' in MPC already means 'config' -
no need to repeat that in the type name.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/mpspec_def.h
arch/x86/kernel/mpparse.c

index e5a8468c215ba863859ff65ae1c4d7c1a95e1949..fabf970813bf136ddae8861afd0374c604e5f654 100644 (file)
@@ -139,7 +139,7 @@ enum mp_irq_source_types {
 
 #define MP_APIC_ALL    0xFF
 
-struct mpc_config_lintsrc {
+struct mpc_lintsrc {
        unsigned char mpc_type;
        unsigned char mpc_irqtype;
        unsigned short mpc_irqflag;
index 6b75d3143586887e55d75d27c71d398018bbea87..defe87e12056ecfa00de1438446fac6c19c0e414 100644 (file)
@@ -233,7 +233,7 @@ static void __init MP_intsrc_info(struct mpc_intsrc *m)
 
 #endif
 
-static void __init MP_lintsrc_info(struct mpc_config_lintsrc *m)
+static void __init MP_lintsrc_info(struct mpc_lintsrc *m)
 {
        apic_printk(APIC_VERBOSE, "Lint: type %d, pol %d, trig %d, bus %02x,"
                " IRQ %02x, APIC ID %x, APIC LINT %02x\n",
@@ -368,8 +368,8 @@ static int __init smp_read_mpc(struct mpc_table *mpc, unsigned early)
                        }
                case MP_LINTSRC:
                        {
-                               struct mpc_config_lintsrc *m =
-                                   (struct mpc_config_lintsrc *)mpt;
+                               struct mpc_lintsrc *m =
+                                   (struct mpc_lintsrc *)mpt;
                                MP_lintsrc_info(m);
                                mpt += sizeof(*m);
                                count += sizeof(*m);
@@ -532,7 +532,7 @@ static inline void __init construct_ioapic_table(int mpc_default_type) { }
 static inline void __init construct_default_ISA_mptable(int mpc_default_type)
 {
        struct mpc_cpu processor;
-       struct mpc_config_lintsrc lintsrc;
+       struct mpc_lintsrc lintsrc;
        int linttypes[2] = { mp_ExtINT, mp_NMI };
        int i;
 
@@ -903,8 +903,8 @@ static int  __init replace_intsrc_all(struct mpc_table *mpc,
                        }
                case MP_LINTSRC:
                        {
-                               struct mpc_config_lintsrc *m =
-                                   (struct mpc_config_lintsrc *)mpt;
+                               struct mpc_lintsrc *m =
+                                   (struct mpc_lintsrc *)mpt;
                                mpt += sizeof(*m);
                                count += sizeof(*m);
                                break;