aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc64/kernel/entry.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-03-26 00:46:21 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-26 00:46:21 -0700
commitbfdf9ebc396a2373af2f1d117491dc6bbdc9ee75 (patch)
tree88c1e257edfb539c4c69176093a0d2680912875d /arch/sparc64/kernel/entry.h
parentd91aa123b4b96e57680a39fb9dfd9722f8df3c7e (diff)
[SPARC64]: Fix sparse warnings in arch/sparc64/kernel/ptrace.c
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/entry.h')
-rw-r--r--arch/sparc64/kernel/entry.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/entry.h b/arch/sparc64/kernel/entry.h
index e66d94c7caf..0d0de9c32a8 100644
--- a/arch/sparc64/kernel/entry.h
+++ b/arch/sparc64/kernel/entry.h
@@ -1,8 +1,9 @@
#ifndef _ENTRY_H
#define _ENTRY_H
-#include <linux/init.h>
+#include <linux/kernel.h>
#include <linux/types.h>
+#include <linux/init.h>
extern char *sparc_cpu_type;
extern char *sparc_fpu_type;
@@ -13,6 +14,9 @@ extern void __init boot_cpu_id_too_large(int cpu);
extern unsigned int dcache_parity_tl1_occurred;
extern unsigned int icache_parity_tl1_occurred;
+extern asmlinkage void syscall_trace(struct pt_regs *regs,
+ int syscall_exit_p);
+
extern void bad_trap_tl1(struct pt_regs *regs, long lvl);
extern void do_fpe_common(struct pt_regs *regs);