diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-12 00:10:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-12 00:10:32 -0700 |
commit | b539c4676600dc25c2cd9322ff6bff2c2d455161 (patch) | |
tree | 8241a9cae96a40bcced945821f9e31dc25176878 /arch/sparc | |
parent | a9e7bb041084055b70971e3cde3bb21aea593a74 (diff) |
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.h | 2 |
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 bb9ec2cce35..b049abf9902 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) */ |