summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim/machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/aim/machdep.c')
-rw-r--r--sys/powerpc/aim/machdep.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c
index 32ae7f5..1df450d 100644
--- a/sys/powerpc/aim/machdep.c
+++ b/sys/powerpc/aim/machdep.c
@@ -114,7 +114,6 @@ static const char rcsid[] =
#include <sys/vnode.h>
#include <machine/sigframe.h>
-long physmem = 0;
int cold = 1;
char pcpu0[PAGE_SIZE];
@@ -153,18 +152,6 @@ void install_extint(void (*)(void));
int setfault(faultbuf); /* defined in locore.S */
-static int
-sysctl_hw_physmem(SYSCTL_HANDLER_ARGS)
-{
- u_long val;
-
- val = ctob(physmem);
- return (sysctl_handle_long(oidp, &val, 0, req));
-}
-
-SYSCTL_PROC(_hw, HW_PHYSMEM, physmem, CTLTYPE_ULONG | CTLFLAG_RD,
- 0, 0, sysctl_hw_physmem, "LU", "");
-
long Maxmem = 0;
static int chosen;
OpenPOWER on IntegriCloud