From 35e2087b84569a29cea34889a258edb4c7d721ac Mon Sep 17 00:00:00 2001 From: thorpej Date: Sun, 24 Mar 2002 21:46:28 +0000 Subject: [PATCH] Make this compile again. --- sys/arch/hpcarm/hpcarm/stubs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/hpcarm/hpcarm/stubs.c b/sys/arch/hpcarm/hpcarm/stubs.c index 76870ebdbf86..4d685ff06c31 100644 --- a/sys/arch/hpcarm/hpcarm/stubs.c +++ b/sys/arch/hpcarm/hpcarm/stubs.c @@ -1,4 +1,4 @@ -/* $NetBSD: stubs.c,v 1.9 2002/03/06 13:10:20 tsutsui Exp $ */ +/* $NetBSD: stubs.c,v 1.10 2002/03/24 21:46:28 thorpej Exp $ */ /* * Copyright (c) 1994-1998 Mark Brinicombe. @@ -104,7 +104,7 @@ cpu_dumpconf() /* This should be moved to machdep.c */ -extern pagehook_t page_hook0; +extern char *memhook; /* XXX */ /* * Doadump comes here after turning off memory management and @@ -142,7 +142,7 @@ dumpsys() minor(dumpdev), dumplo); blkno = dumplo; - dumpspace = page_hook0.va; + dumpspace = (vaddr_t) memhook; psize = (*bdevsw[major(dumpdev)].d_psize)(dumpdev); printf("dump ");