Module Name: src
Committed By: cegger
Date: Thu Apr 23 12:18:41 UTC 2009
Modified Files:
src/sys/arch/x86/x86: pmap.c
Log Message:
pool uses signed int for flags.
undo the int -> u_int change for pmap_pdp_alloc to unbreak the PAE build.
To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/arch/x86/x86/pmap.c
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/x86/x86/pmap.c
diff -u src/sys/arch/x86/x86/pmap.c:1.84 src/sys/arch/x86/x86/pmap.c:1.85
--- src/sys/arch/x86/x86/pmap.c:1.84 Tue Apr 21 21:30:01 2009
+++ src/sys/arch/x86/x86/pmap.c Thu Apr 23 12:18:41 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.84 2009/04/21 21:30:01 cegger Exp $ */
+/* $NetBSD: pmap.c,v 1.85 2009/04/23 12:18:41 cegger Exp $ */
/*
* Copyright (c) 2007 Manuel Bouyer.
@@ -154,7 +154,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.84 2009/04/21 21:30:01 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.85 2009/04/23 12:18:41 cegger Exp $");
#include "opt_user_ldt.h"
#include "opt_lockdebug.h"
@@ -2123,7 +2123,7 @@
/* pmap_pdp_alloc: Allocate a page for the pdp memory pool. */
void *
-pmap_pdp_alloc(struct pool *pp, u_int flags)
+pmap_pdp_alloc(struct pool *pp, int flags)
{
return (void *)uvm_km_alloc(kernel_map,
PAGE_SIZE * PDP_SIZE, PAGE_SIZE * PDP_SIZE,