From 92df06c2d182c5d3bb0745e9d99403806aa3f8c9 Mon Sep 17 00:00:00 2001 From: skrll Date: Mon, 30 Oct 2006 08:30:01 +0000 Subject: [PATCH] G/C pages_per_vm_page --- sys/arch/hppa/hppa/pmap.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sys/arch/hppa/hppa/pmap.c b/sys/arch/hppa/hppa/pmap.c index 2148d742ba04..6bc9c4b75052 100644 --- a/sys/arch/hppa/hppa/pmap.c +++ b/sys/arch/hppa/hppa/pmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.25 2006/10/23 14:15:09 skrll Exp $ */ +/* $NetBSD: pmap.c,v 1.26 2006/10/30 08:30:01 skrll Exp $ */ /*- * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc. @@ -171,7 +171,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.25 2006/10/23 14:15:09 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.26 2006/10/30 08:30:01 skrll Exp $"); #include #include @@ -269,7 +269,6 @@ struct simplelock pmap_freelock; /* and lock */ struct simplelock pmap_lock; /* XXX this is all broken */ struct simplelock sid_pid_lock; /* pids */ -u_int pages_per_vm_page; u_int pid_counter; #ifdef PMAPDEBUG @@ -800,8 +799,6 @@ pmap_bootstrap(vaddr_t *vstart, vaddr_t *vend) uvm_setpagesize(); - pages_per_vm_page = 1; /* XXX This should die */ - kern_prot[VM_PROT_NONE | VM_PROT_NONE | VM_PROT_NONE] =TLB_AR_NA; kern_prot[VM_PROT_READ | VM_PROT_NONE | VM_PROT_NONE] =TLB_AR_KR; kern_prot[VM_PROT_NONE | VM_PROT_WRITE | VM_PROT_NONE] =TLB_AR_KRW;