diff options
author | David S. Miller <davem@davemloft.net> | 2008-03-26 04:43:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-26 04:43:29 -0400 |
commit | 207ddd0a3a42e6273e3a26447b52e9d6d90d579d (patch) | |
tree | eaff7cd129837826e1df0e78bb5f508aa25965b2 /arch/sparc64/kernel/entry.h | |
parent | cf3d7c1ef418863376d556c48c214cb828623584 (diff) |
[SPARC64]: Fix most sparse warnings in arch/sparc64/kernel/sys_sparc.c
Sparse still doesn't like the funny cast we make from a scalar to a
"union semun" (which is correct by the C language and in particular
works with the sparc64 calling conventions, but sparse doesn't grok
that yet).
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/entry.h')
-rw-r--r-- | arch/sparc64/kernel/entry.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/entry.h b/arch/sparc64/kernel/entry.h index 4e238a11bdfe..129a2f133d67 100644 --- a/arch/sparc64/kernel/entry.h +++ b/arch/sparc64/kernel/entry.h | |||
@@ -14,6 +14,8 @@ extern void __init boot_cpu_id_too_large(int cpu); | |||
14 | extern unsigned int dcache_parity_tl1_occurred; | 14 | extern unsigned int dcache_parity_tl1_occurred; |
15 | extern unsigned int icache_parity_tl1_occurred; | 15 | extern unsigned int icache_parity_tl1_occurred; |
16 | 16 | ||
17 | extern asmlinkage void update_perfctrs(void); | ||
18 | extern asmlinkage void sparc_breakpoint(struct pt_regs *regs); | ||
17 | extern void timer_interrupt(int irq, struct pt_regs *regs); | 19 | extern void timer_interrupt(int irq, struct pt_regs *regs); |
18 | 20 | ||
19 | extern asmlinkage void syscall_trace(struct pt_regs *regs, | 21 | extern asmlinkage void syscall_trace(struct pt_regs *regs, |