diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-msm/acpuclock-arm11.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/dpll3xxx.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/sleep34xx.S | 2 | ||||
-rw-r--r-- | arch/arm/mach-u300/gpio.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/clock.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-samsung/clock.c | 2 | ||||
-rw-r--r-- | arch/cris/arch-v32/mm/intmem.c | 13 | ||||
-rw-r--r-- | arch/h8300/kernel/timer/itu.c | 2 | ||||
-rw-r--r-- | arch/h8300/kernel/timer/timer16.c | 2 | ||||
-rw-r--r-- | arch/h8300/kernel/timer/timer8.c | 2 | ||||
-rw-r--r-- | arch/ia64/kvm/kvm-ia64.c | 6 | ||||
-rw-r--r-- | arch/ia64/sn/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/microblaze/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/sibyte/bcm1480/irq.c | 11 | ||||
-rw-r--r-- | arch/powerpc/platforms/ps3/htab.c | 2 | ||||
-rw-r--r-- | arch/sparc/boot/btfixupprep.c | 4 | ||||
-rw-r--r-- | arch/x86/kernel/apic/apic.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/head32.c | 2 |
18 files changed, 25 insertions, 39 deletions
diff --git a/arch/arm/mach-msm/acpuclock-arm11.c b/arch/arm/mach-msm/acpuclock-arm11.c index af5e85b91d02..f060a3959a75 100644 --- a/arch/arm/mach-msm/acpuclock-arm11.c +++ b/arch/arm/mach-msm/acpuclock-arm11.c | |||
@@ -98,7 +98,7 @@ struct clkctl_acpu_speed { | |||
98 | 98 | ||
99 | /* | 99 | /* |
100 | * ACPU speed table. Complete table is shown but certain speeds are commented | 100 | * ACPU speed table. Complete table is shown but certain speeds are commented |
101 | * out to optimized speed switching. Initalize loops_per_jiffy to 0. | 101 | * out to optimized speed switching. Initialize loops_per_jiffy to 0. |
102 | * | 102 | * |
103 | * Table stepping up/down is optimized for 256mhz jumps while staying on the | 103 | * Table stepping up/down is optimized for 256mhz jumps while staying on the |
104 | * same PLL. | 104 | * same PLL. |
@@ -494,7 +494,7 @@ uint32_t acpuclk_get_switch_time(void) | |||
494 | * Clock driver initialization | 494 | * Clock driver initialization |
495 | *---------------------------------------------------------------------------*/ | 495 | *---------------------------------------------------------------------------*/ |
496 | 496 | ||
497 | /* Initalize the lpj field in the acpu_freq_tbl. */ | 497 | /* Initialize the lpj field in the acpu_freq_tbl. */ |
498 | static void __init lpj_init(void) | 498 | static void __init lpj_init(void) |
499 | { | 499 | { |
500 | int i; | 500 | int i; |
diff --git a/arch/arm/mach-omap2/dpll3xxx.c b/arch/arm/mach-omap2/dpll3xxx.c index b32ccd954a1b..ed8d330522f1 100644 --- a/arch/arm/mach-omap2/dpll3xxx.c +++ b/arch/arm/mach-omap2/dpll3xxx.c | |||
@@ -463,7 +463,7 @@ int omap3_noncore_dpll_set_rate(struct clk *clk, unsigned long rate) | |||
463 | } | 463 | } |
464 | if (!ret) { | 464 | if (!ret) { |
465 | /* | 465 | /* |
466 | * Switch the parent clock in the heirarchy, and make sure | 466 | * Switch the parent clock in the hierarchy, and make sure |
467 | * that the new parent's usecount is correct. Note: we | 467 | * that the new parent's usecount is correct. Note: we |
468 | * enable the new parent before disabling the old to avoid | 468 | * enable the new parent before disabling the old to avoid |
469 | * any unnecessary hardware disable->enable transitions. | 469 | * any unnecessary hardware disable->enable transitions. |
diff --git a/arch/arm/mach-omap2/sleep34xx.S b/arch/arm/mach-omap2/sleep34xx.S index d522cd70bf53..ba53191ae4c5 100644 --- a/arch/arm/mach-omap2/sleep34xx.S +++ b/arch/arm/mach-omap2/sleep34xx.S | |||
@@ -60,7 +60,7 @@ | |||
60 | #define SDRC_DLLA_CTRL_V OMAP34XX_SDRC_REGADDR(SDRC_DLLA_CTRL) | 60 | #define SDRC_DLLA_CTRL_V OMAP34XX_SDRC_REGADDR(SDRC_DLLA_CTRL) |
61 | 61 | ||
62 | .text | 62 | .text |
63 | /* Function to aquire the semaphore in scratchpad */ | 63 | /* Function to acquire the semaphore in scratchpad */ |
64 | ENTRY(lock_scratchpad_sem) | 64 | ENTRY(lock_scratchpad_sem) |
65 | stmfd sp!, {lr} @ save registers on stack | 65 | stmfd sp!, {lr} @ save registers on stack |
66 | wait_sem: | 66 | wait_sem: |
diff --git a/arch/arm/mach-u300/gpio.c b/arch/arm/mach-u300/gpio.c index 5f61fd45a0c8..d92790140fe5 100644 --- a/arch/arm/mach-u300/gpio.c +++ b/arch/arm/mach-u300/gpio.c | |||
@@ -523,7 +523,7 @@ static void gpio_set_initial_values(void) | |||
523 | 523 | ||
524 | /* | 524 | /* |
525 | * Put all pins that are set to either 'GPIO_OUT' or 'GPIO_NOT_USED' | 525 | * Put all pins that are set to either 'GPIO_OUT' or 'GPIO_NOT_USED' |
526 | * to output and 'GPIO_IN' to input for each port. And initalize | 526 | * to output and 'GPIO_IN' to input for each port. And initialize |
527 | * default value on outputs. | 527 | * default value on outputs. |
528 | */ | 528 | */ |
529 | for (i = 0; i < U300_GPIO_NUM_PORTS; i++) { | 529 | for (i = 0; i < U300_GPIO_NUM_PORTS; i++) { |
diff --git a/arch/arm/plat-s3c24xx/clock.c b/arch/arm/plat-s3c24xx/clock.c index 8474d05274bd..931d26d1a54b 100644 --- a/arch/arm/plat-s3c24xx/clock.c +++ b/arch/arm/plat-s3c24xx/clock.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <plat/cpu.h> | 43 | #include <plat/cpu.h> |
44 | #include <plat/pll.h> | 44 | #include <plat/pll.h> |
45 | 45 | ||
46 | /* initalise all the clocks */ | 46 | /* initialise all the clocks */ |
47 | 47 | ||
48 | void __init_or_cpufreq s3c24xx_setup_clocks(unsigned long fclk, | 48 | void __init_or_cpufreq s3c24xx_setup_clocks(unsigned long fclk, |
49 | unsigned long hclk, | 49 | unsigned long hclk, |
diff --git a/arch/arm/plat-samsung/clock.c b/arch/arm/plat-samsung/clock.c index 8bf79f3efdfb..90a20512d68d 100644 --- a/arch/arm/plat-samsung/clock.c +++ b/arch/arm/plat-samsung/clock.c | |||
@@ -391,7 +391,7 @@ void __init s3c_disable_clocks(struct clk *clkp, int nr_clks) | |||
391 | (clkp->enable)(clkp, 0); | 391 | (clkp->enable)(clkp, 0); |
392 | } | 392 | } |
393 | 393 | ||
394 | /* initalise all the clocks */ | 394 | /* initialise all the clocks */ |
395 | 395 | ||
396 | int __init s3c24xx_register_baseclocks(unsigned long xtal) | 396 | int __init s3c24xx_register_baseclocks(unsigned long xtal) |
397 | { | 397 | { |
diff --git a/arch/cris/arch-v32/mm/intmem.c b/arch/cris/arch-v32/mm/intmem.c index 9e8b69cdf19e..1b17d92cef8e 100644 --- a/arch/cris/arch-v32/mm/intmem.c +++ b/arch/cris/arch-v32/mm/intmem.c | |||
@@ -33,8 +33,8 @@ static void crisv32_intmem_init(void) | |||
33 | { | 33 | { |
34 | static int initiated = 0; | 34 | static int initiated = 0; |
35 | if (!initiated) { | 35 | if (!initiated) { |
36 | struct intmem_allocation* alloc = | 36 | struct intmem_allocation* alloc; |
37 | (struct intmem_allocation*)kmalloc(sizeof *alloc, GFP_KERNEL); | 37 | alloc = kmalloc(sizeof *alloc, GFP_KERNEL); |
38 | INIT_LIST_HEAD(&intmem_allocations); | 38 | INIT_LIST_HEAD(&intmem_allocations); |
39 | intmem_virtual = ioremap(MEM_INTMEM_START + RESERVED_SIZE, | 39 | intmem_virtual = ioremap(MEM_INTMEM_START + RESERVED_SIZE, |
40 | MEM_INTMEM_SIZE - RESERVED_SIZE); | 40 | MEM_INTMEM_SIZE - RESERVED_SIZE); |
@@ -62,9 +62,8 @@ void* crisv32_intmem_alloc(unsigned size, unsigned align) | |||
62 | if (allocation->status == STATUS_FREE && | 62 | if (allocation->status == STATUS_FREE && |
63 | allocation->size >= size + alignment) { | 63 | allocation->size >= size + alignment) { |
64 | if (allocation->size > size + alignment) { | 64 | if (allocation->size > size + alignment) { |
65 | struct intmem_allocation* alloc = | 65 | struct intmem_allocation* alloc; |
66 | (struct intmem_allocation*) | 66 | alloc = kmalloc(sizeof *alloc, GFP_ATOMIC); |
67 | kmalloc(sizeof *alloc, GFP_ATOMIC); | ||
68 | alloc->status = STATUS_FREE; | 67 | alloc->status = STATUS_FREE; |
69 | alloc->size = allocation->size - size - | 68 | alloc->size = allocation->size - size - |
70 | alignment; | 69 | alignment; |
@@ -74,9 +73,7 @@ void* crisv32_intmem_alloc(unsigned size, unsigned align) | |||
74 | 73 | ||
75 | if (alignment) { | 74 | if (alignment) { |
76 | struct intmem_allocation *tmp; | 75 | struct intmem_allocation *tmp; |
77 | tmp = (struct intmem_allocation *) | 76 | tmp = kmalloc(sizeof *tmp, GFP_ATOMIC); |
78 | kmalloc(sizeof *tmp, | ||
79 | GFP_ATOMIC); | ||
80 | tmp->offset = allocation->offset; | 77 | tmp->offset = allocation->offset; |
81 | tmp->size = alignment; | 78 | tmp->size = alignment; |
82 | tmp->status = STATUS_FREE; | 79 | tmp->status = STATUS_FREE; |
diff --git a/arch/h8300/kernel/timer/itu.c b/arch/h8300/kernel/timer/itu.c index 4883ba7103a8..a2ae5e952137 100644 --- a/arch/h8300/kernel/timer/itu.c +++ b/arch/h8300/kernel/timer/itu.c | |||
@@ -73,7 +73,7 @@ void __init h8300_timer_setup(void) | |||
73 | 73 | ||
74 | setup_irq(ITUIRQ, &itu_irq); | 74 | setup_irq(ITUIRQ, &itu_irq); |
75 | 75 | ||
76 | /* initalize timer */ | 76 | /* initialize timer */ |
77 | ctrl_outb(0, TSTR); | 77 | ctrl_outb(0, TSTR); |
78 | ctrl_outb(CCLR0 | div, ITUBASE + TCR); | 78 | ctrl_outb(CCLR0 | div, ITUBASE + TCR); |
79 | ctrl_outb(0x01, ITUBASE + TIER); | 79 | ctrl_outb(0x01, ITUBASE + TIER); |
diff --git a/arch/h8300/kernel/timer/timer16.c b/arch/h8300/kernel/timer/timer16.c index 042dbb53f3fb..ae0d38161139 100644 --- a/arch/h8300/kernel/timer/timer16.c +++ b/arch/h8300/kernel/timer/timer16.c | |||
@@ -68,7 +68,7 @@ void __init h8300_timer_setup(void) | |||
68 | 68 | ||
69 | setup_irq(_16IRQ, &timer16_irq); | 69 | setup_irq(_16IRQ, &timer16_irq); |
70 | 70 | ||
71 | /* initalize timer */ | 71 | /* initialize timer */ |
72 | ctrl_outb(0, TSTR); | 72 | ctrl_outb(0, TSTR); |
73 | ctrl_outb(CCLR0 | div, _16BASE + TCR); | 73 | ctrl_outb(CCLR0 | div, _16BASE + TCR); |
74 | ctrl_outw(cnt, _16BASE + GRA); | 74 | ctrl_outw(cnt, _16BASE + GRA); |
diff --git a/arch/h8300/kernel/timer/timer8.c b/arch/h8300/kernel/timer/timer8.c index 38be0cabef0d..3946c0fa8374 100644 --- a/arch/h8300/kernel/timer/timer8.c +++ b/arch/h8300/kernel/timer/timer8.c | |||
@@ -94,7 +94,7 @@ void __init h8300_timer_setup(void) | |||
94 | ctrl_bclr(0, MSTPCRL) | 94 | ctrl_bclr(0, MSTPCRL) |
95 | #endif | 95 | #endif |
96 | 96 | ||
97 | /* initalize timer */ | 97 | /* initialize timer */ |
98 | ctrl_outw(cnt, _8BASE + TCORA); | 98 | ctrl_outw(cnt, _8BASE + TCORA); |
99 | ctrl_outw(0x0000, _8BASE + _8TCSR); | 99 | ctrl_outw(0x0000, _8BASE + _8TCSR); |
100 | ctrl_outw((CMIEA|CCLR_CMA|CKS2) << 8 | div, | 100 | ctrl_outw((CMIEA|CCLR_CMA|CKS2) << 8 | div, |
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c index 21b701374f72..9b109f25e49c 100644 --- a/arch/ia64/kvm/kvm-ia64.c +++ b/arch/ia64/kvm/kvm-ia64.c | |||
@@ -1237,7 +1237,7 @@ int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu) | |||
1237 | p_ctx->cr[2] = (unsigned long)kvm_vmm_info->vmm_ivt; | 1237 | p_ctx->cr[2] = (unsigned long)kvm_vmm_info->vmm_ivt; |
1238 | p_ctx->cr[8] = 0x3c; | 1238 | p_ctx->cr[8] = 0x3c; |
1239 | 1239 | ||
1240 | /*Initilize region register*/ | 1240 | /*Initialize region register*/ |
1241 | p_ctx->rr[0] = 0x30; | 1241 | p_ctx->rr[0] = 0x30; |
1242 | p_ctx->rr[1] = 0x30; | 1242 | p_ctx->rr[1] = 0x30; |
1243 | p_ctx->rr[2] = 0x30; | 1243 | p_ctx->rr[2] = 0x30; |
@@ -1246,7 +1246,7 @@ int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu) | |||
1246 | p_ctx->rr[5] = 0x30; | 1246 | p_ctx->rr[5] = 0x30; |
1247 | p_ctx->rr[7] = 0x30; | 1247 | p_ctx->rr[7] = 0x30; |
1248 | 1248 | ||
1249 | /*Initilize branch register 0*/ | 1249 | /*Initialize branch register 0*/ |
1250 | p_ctx->br[0] = *(unsigned long *)kvm_vmm_info->vmm_entry; | 1250 | p_ctx->br[0] = *(unsigned long *)kvm_vmm_info->vmm_entry; |
1251 | 1251 | ||
1252 | vcpu->arch.vmm_rr = kvm->arch.vmm_init_rr; | 1252 | vcpu->arch.vmm_rr = kvm->arch.vmm_init_rr; |
@@ -1707,7 +1707,7 @@ static int kvm_relocate_vmm(struct kvm_vmm_info *vmm_info, | |||
1707 | BUG_ON(!module); | 1707 | BUG_ON(!module); |
1708 | 1708 | ||
1709 | if (!kvm_vmm_base) { | 1709 | if (!kvm_vmm_base) { |
1710 | printk("kvm: kvm area hasn't been initilized yet!!\n"); | 1710 | printk("kvm: kvm area hasn't been initialized yet!!\n"); |
1711 | return -EFAULT; | 1711 | return -EFAULT; |
1712 | } | 1712 | } |
1713 | 1713 | ||
diff --git a/arch/ia64/sn/kernel/setup.c b/arch/ia64/sn/kernel/setup.c index d00dfc180021..dbc4cbecb5ed 100644 --- a/arch/ia64/sn/kernel/setup.c +++ b/arch/ia64/sn/kernel/setup.c | |||
@@ -507,7 +507,7 @@ static void __init sn_init_pdas(char **cmdline_p) | |||
507 | cnodeid_t cnode; | 507 | cnodeid_t cnode; |
508 | 508 | ||
509 | /* | 509 | /* |
510 | * Allocate & initalize the nodepda for each node. | 510 | * Allocate & initialize the nodepda for each node. |
511 | */ | 511 | */ |
512 | for_each_online_node(cnode) { | 512 | for_each_online_node(cnode) { |
513 | nodepdaindr[cnode] = | 513 | nodepdaindr[cnode] = |
diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile index 72f6e8583746..592c7079de88 100644 --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile | |||
@@ -25,7 +25,7 @@ ifeq (,$(findstring spartan2,$(CONFIG_XILINX_MICROBLAZE0_FAMILY))) | |||
25 | ifeq ($(CPU_MAJOR),3) | 25 | ifeq ($(CPU_MAJOR),3) |
26 | CPUFLAGS-1 += -mno-xl-soft-mul | 26 | CPUFLAGS-1 += -mno-xl-soft-mul |
27 | else | 27 | else |
28 | # USE_HW_MUL can be 0, 1, or 2, defining a heirarchy of HW Mul support. | 28 | # USE_HW_MUL can be 0, 1, or 2, defining a hierarchy of HW Mul support. |
29 | CPUFLAGS-$(subst 1,,$(CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL)) += -mxl-multiply-high | 29 | CPUFLAGS-$(subst 1,,$(CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL)) += -mxl-multiply-high |
30 | CPUFLAGS-$(CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL) += -mno-xl-soft-mul | 30 | CPUFLAGS-$(CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL) += -mno-xl-soft-mul |
31 | endif | 31 | endif |
diff --git a/arch/mips/sibyte/bcm1480/irq.c b/arch/mips/sibyte/bcm1480/irq.c index 044bbe462c2c..919d2d58e6fa 100644 --- a/arch/mips/sibyte/bcm1480/irq.c +++ b/arch/mips/sibyte/bcm1480/irq.c | |||
@@ -362,19 +362,8 @@ asmlinkage void plat_irq_dispatch(void) | |||
362 | unsigned int cpu = smp_processor_id(); | 362 | unsigned int cpu = smp_processor_id(); |
363 | unsigned int pending; | 363 | unsigned int pending; |
364 | 364 | ||
365 | #ifdef CONFIG_SIBYTE_BCM1480_PROF | ||
366 | /* Set compare to count to silence count/compare timer interrupts */ | ||
367 | write_c0_compare(read_c0_count()); | ||
368 | #endif | ||
369 | |||
370 | pending = read_c0_cause() & read_c0_status(); | 365 | pending = read_c0_cause() & read_c0_status(); |
371 | 366 | ||
372 | #ifdef CONFIG_SIBYTE_BCM1480_PROF | ||
373 | if (pending & CAUSEF_IP7) /* Cpu performance counter interrupt */ | ||
374 | sbprof_cpu_intr(); | ||
375 | else | ||
376 | #endif | ||
377 | |||
378 | if (pending & CAUSEF_IP4) | 367 | if (pending & CAUSEF_IP4) |
379 | do_IRQ(K_BCM1480_INT_TIMER_0 + cpu); | 368 | do_IRQ(K_BCM1480_INT_TIMER_0 + cpu); |
380 | #ifdef CONFIG_SMP | 369 | #ifdef CONFIG_SMP |
diff --git a/arch/powerpc/platforms/ps3/htab.c b/arch/powerpc/platforms/ps3/htab.c index 1e8a1e39dfe8..15a2510ee639 100644 --- a/arch/powerpc/platforms/ps3/htab.c +++ b/arch/powerpc/platforms/ps3/htab.c | |||
@@ -136,7 +136,7 @@ static long ps3_hpte_updatepp(unsigned long slot, unsigned long newpp, | |||
136 | * As lv1_read_htab_entries() does not give us the RPN, we can | 136 | * As lv1_read_htab_entries() does not give us the RPN, we can |
137 | * not synthesize the new hpte_r value here, and therefore can | 137 | * not synthesize the new hpte_r value here, and therefore can |
138 | * not update the hpte with lv1_insert_htab_entry(), so we | 138 | * not update the hpte with lv1_insert_htab_entry(), so we |
139 | * insted invalidate it and ask the caller to update it via | 139 | * instead invalidate it and ask the caller to update it via |
140 | * ps3_hpte_insert() by returning a -1 value. | 140 | * ps3_hpte_insert() by returning a -1 value. |
141 | */ | 141 | */ |
142 | if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { | 142 | if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { |
diff --git a/arch/sparc/boot/btfixupprep.c b/arch/sparc/boot/btfixupprep.c index e7f2940bd270..da031159e2b7 100644 --- a/arch/sparc/boot/btfixupprep.c +++ b/arch/sparc/boot/btfixupprep.c | |||
@@ -216,7 +216,7 @@ main1: | |||
216 | switch (buffer[nbase+3]) { | 216 | switch (buffer[nbase+3]) { |
217 | case 'f': | 217 | case 'f': |
218 | if (initval) { | 218 | if (initval) { |
219 | fprintf(stderr, "Cannot use pre-initalized fixups for calls\n%s\n", buffer); | 219 | fprintf(stderr, "Cannot use pre-initialized fixups for calls\n%s\n", buffer); |
220 | exit(1); | 220 | exit(1); |
221 | } | 221 | } |
222 | if (!strcmp (sect, "__ksymtab")) { | 222 | if (!strcmp (sect, "__ksymtab")) { |
@@ -273,7 +273,7 @@ main1: | |||
273 | break; | 273 | break; |
274 | case 'i': | 274 | case 'i': |
275 | if (initval) { | 275 | if (initval) { |
276 | fprintf(stderr, "Cannot use pre-initalized fixups for INT\n%s\n", buffer); | 276 | fprintf(stderr, "Cannot use pre-initialized fixups for INT\n%s\n", buffer); |
277 | exit(1); | 277 | exit(1); |
278 | } | 278 | } |
279 | if (strncmp (buffer + mode+9, "HI22 ", 10) && strncmp (buffer + mode+9, "LO10 ", 10)) { | 279 | if (strncmp (buffer + mode+9, "HI22 ", 10) && strncmp (buffer + mode+9, "LO10 ", 10)) { |
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index c02cc692985c..0bcc5aeda998 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c | |||
@@ -460,7 +460,7 @@ static void lapic_timer_broadcast(const struct cpumask *mask) | |||
460 | } | 460 | } |
461 | 461 | ||
462 | /* | 462 | /* |
463 | * Setup the local APIC timer for this CPU. Copy the initilized values | 463 | * Setup the local APIC timer for this CPU. Copy the initialized values |
464 | * of the boot CPU and register the clock event in the framework. | 464 | * of the boot CPU and register the clock event in the framework. |
465 | */ | 465 | */ |
466 | static void __cpuinit setup_APIC_timer(void) | 466 | static void __cpuinit setup_APIC_timer(void) |
diff --git a/arch/x86/kernel/head32.c b/arch/x86/kernel/head32.c index b2e246037392..784360c0625c 100644 --- a/arch/x86/kernel/head32.c +++ b/arch/x86/kernel/head32.c | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | static void __init i386_default_early_setup(void) | 21 | static void __init i386_default_early_setup(void) |
22 | { | 22 | { |
23 | /* Initilize 32bit specific setup functions */ | 23 | /* Initialize 32bit specific setup functions */ |
24 | x86_init.resources.probe_roms = probe_roms; | 24 | x86_init.resources.probe_roms = probe_roms; |
25 | x86_init.resources.reserve_resources = i386_reserve_resources; | 25 | x86_init.resources.reserve_resources = i386_reserve_resources; |
26 | x86_init.mpparse.setup_ioapic_ids = setup_ioapic_ids_from_mpc; | 26 | x86_init.mpparse.setup_ioapic_ids = setup_ioapic_ids_from_mpc; |