mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +00:00
x86: make dump_pagetable() static
dump_pagetable() can now become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
e8bff74afb
commit
cae30f8270
2 changed files with 1 additions and 2 deletions
|
@ -186,7 +186,7 @@ static int bad_address(void *p)
|
|||
}
|
||||
#endif
|
||||
|
||||
void dump_pagetable(unsigned long address)
|
||||
static void dump_pagetable(unsigned long address)
|
||||
{
|
||||
#ifdef CONFIG_X86_32
|
||||
__typeof__(pte_val(__pte(0))) page;
|
||||
|
|
|
@ -31,7 +31,6 @@ extern void show_trace(struct task_struct *t, struct pt_regs *regs,
|
|||
unsigned long *sp, unsigned long bp);
|
||||
extern void __show_regs(struct pt_regs *regs);
|
||||
extern void show_regs(struct pt_regs *regs);
|
||||
extern void dump_pagetable(unsigned long);
|
||||
extern unsigned long oops_begin(void);
|
||||
extern void oops_end(unsigned long, struct pt_regs *, int signr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue