Fixup for r216141, dump_add_page needs to be non-static now.

Add it to sys/mips/include/md_var.h, make dump_drop_page non-static too
for completeness.
This commit is contained in:
jchandra 2010-12-03 14:20:20 +00:00
parent 17b7c7e53e
commit 5990613c69
2 changed files with 6 additions and 4 deletions

View File

@ -77,6 +77,8 @@ void platform_identify(void);
extern int busdma_swi_pending;
void busdma_swi(void);
struct dumperinfo;
void minidumpsys(struct dumperinfo *);
struct dumperinfo;
void dump_add_page(vm_paddr_t);
void dump_drop_page(vm_paddr_t);
void minidumpsys(struct dumperinfo *);
#endif /* !_MACHINE_MD_VAR_H_ */

View File

@ -83,7 +83,7 @@ is_dumpable(vm_paddr_t pa)
return (0);
}
static void
void
dump_add_page(vm_paddr_t pa)
{
int idx, bit;
@ -94,7 +94,7 @@ dump_add_page(vm_paddr_t pa)
atomic_set_int(&vm_page_dump[idx], 1ul << bit);
}
static void
void
dump_drop_page(vm_paddr_t pa)
{
int idx, bit;