Module Name:    src
Committed By:   matt
Date:           Sat Jan 28 00:18:30 UTC 2012

Modified Files:
        src/sys/arch/arm/include/arm32: pmap.h

Log Message:
Nuke the simplelock from vm_page_md


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/sys/arch/arm/include/arm32/pmap.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/include/arm32/pmap.h
diff -u src/sys/arch/arm/include/arm32/pmap.h:1.100 src/sys/arch/arm/include/arm32/pmap.h:1.101
--- src/sys/arch/arm/include/arm32/pmap.h:1.100	Sun Jun 12 03:35:39 2011
+++ src/sys/arch/arm/include/arm32/pmap.h	Sat Jan 28 00:18:30 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.h,v 1.100 2011/06/12 03:35:39 rmind Exp $	*/
+/*	$NetBSD: pmap.h,v 1.101 2012/01/28 00:18:30 matt Exp $	*/
 
 /*
  * Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@@ -869,7 +869,6 @@ extern void (*pmap_zero_page_func)(paddr
 #define	__HAVE_VM_PAGE_MD
 struct vm_page_md {
 	SLIST_HEAD(,pv_entry) pvh_list;		/* pv_entry list */
-	struct simplelock pvh_slock;		/* lock on this head */
 	int pvh_attrs;				/* page attributes */
 	u_int uro_mappings;
 	u_int urw_mappings;
@@ -896,7 +895,6 @@ struct vm_page_md {
 #define	VM_MDPAGE_INIT(pg)						\
 do {									\
 	SLIST_INIT(&(pg)->mdpage.pvh_list);				\
-	simple_lock_init(&(pg)->mdpage.pvh_slock);			\
 	VM_MDPAGE_PVH_ATTRS_INIT(pg);					\
 	(pg)->mdpage.uro_mappings = 0;					\
 	(pg)->mdpage.urw_mappings = 0;					\

Reply via email to