diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-11-08 09:44:15 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-08 09:44:15 -0500 |
commit | 2c250134952aac06edbdce5e61f0bd8737dcf3ad (patch) | |
tree | 7c48f4b1c3fa370a484277656d7af3e104e63400 /arch/arm | |
parent | 5d43045bcd296f9f269ab266bf26cd667d8d560c (diff) |
[ARM] More sparse fixes
arch/arm/kernel/irq.c:998:26: warning: Using plain integer as NULL pointer
arch/arm/kernel/smp.c:145:25: warning: Using plain integer as NULL pointer
arch/arm/kernel/smp.c:362:5: warning: symbol 'smp_call_function_on_cpu' was not declared. Should it be static?
drivers/video/amba-clcd.c:521:12: warning: symbol 'amba_clcdfb_init' was not declared. Should it be static?
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/kernel/irq.c | 2 | ||||
-rw-r--r-- | arch/arm/kernel/smp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/irq.c b/arch/arm/kernel/irq.c index 9def4404e1f2..6f86d0af7c56 100644 --- a/arch/arm/kernel/irq.c +++ b/arch/arm/kernel/irq.c | |||
@@ -995,7 +995,7 @@ void __init init_irq_proc(void) | |||
995 | struct proc_dir_entry *dir; | 995 | struct proc_dir_entry *dir; |
996 | int irq; | 996 | int irq; |
997 | 997 | ||
998 | dir = proc_mkdir("irq", 0); | 998 | dir = proc_mkdir("irq", NULL); |
999 | if (!dir) | 999 | if (!dir) |
1000 | return; | 1000 | return; |
1001 | 1001 | ||
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index f65750a3d28b..f5fc57e0fe41 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c | |||
@@ -515,7 +515,7 @@ static void ipi_cpu_stop(unsigned int cpu) | |||
515 | * | 515 | * |
516 | * Bit 0 - Inter-processor function call | 516 | * Bit 0 - Inter-processor function call |
517 | */ | 517 | */ |
518 | void do_IPI(struct pt_regs *regs) | 518 | asmlinkage void do_IPI(struct pt_regs *regs) |
519 | { | 519 | { |
520 | unsigned int cpu = smp_processor_id(); | 520 | unsigned int cpu = smp_processor_id(); |
521 | struct ipi_data *ipi = &per_cpu(ipi_data, cpu); | 521 | struct ipi_data *ipi = &per_cpu(ipi_data, cpu); |