summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-12 00:10:32 -0700
committerDavid S. Miller <davem@davemloft.net>2008-09-12 00:10:32 -0700
commitb539c4676600dc25c2cd9322ff6bff2c2d455161 (patch)
tree8241a9cae96a40bcced945821f9e31dc25176878 /arch/sparc
parenta9e7bb041084055b70971e3cde3bb21aea593a74 (diff)
downloadop-kernel-dev-b539c4676600dc25c2cd9322ff6bff2c2d455161.zip
op-kernel-dev-b539c4676600dc25c2cd9322ff6bff2c2d455161.tar.gz
sparc64: Fix sparse warnings in fault.c
1) set_brkpt() is referenced by nothing and hasn't been used by anyone to my knowledge for many many years. So just delete it. 2) add extern decl for do_sparc64_fault() in asm/pgtable_64.h Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/include/asm/pgtable_64.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/pgtable_64.h b/arch/sparc/include/asm/pgtable_64.h
index bb9ec2c..b049abf 100644
--- a/arch/sparc/include/asm/pgtable_64.h
+++ b/arch/sparc/include/asm/pgtable_64.h
@@ -770,6 +770,8 @@ extern void sun4v_patch_tlb_handlers(void);
extern unsigned long cmdline_memory_size;
+extern asmlinkage void do_sparc64_fault(struct pt_regs *regs);
+
#endif /* !(__ASSEMBLY__) */
#endif /* !(_SPARC64_PGTABLE_H) */
OpenPOWER on IntegriCloud