Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/include Copy the ALPHA_PGSHIFT value into the...



details:   https://anonhg.NetBSD.org/src/rev/a2cecce0b87c
branches:  trunk
changeset: 783984:a2cecce0b87c
user:      he <he%NetBSD.org@localhost>
date:      Mon Jan 14 10:46:14 2013 +0000

description:
Copy the ALPHA_PGSHIFT value into the non-_KERNEL branch.
Fixes the build.

diffstat:

 sys/arch/alpha/include/param.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 67f310262a09 -r a2cecce0b87c sys/arch/alpha/include/param.h
--- a/sys/arch/alpha/include/param.h    Mon Jan 14 09:23:45 2013 +0000
+++ b/sys/arch/alpha/include/param.h    Mon Jan 14 10:46:14 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.42 2013/01/07 23:40:52 dsl Exp $ */
+/* $NetBSD: param.h,v 1.43 2013/01/14 10:46:14 he Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -49,6 +49,8 @@
 
 #ifdef _KERNEL
 #include <machine/cpu.h>
+#else
+#define ALPHA_PGSHIFT  13
 #endif
 
 #define        NBPG            (1 << ALPHA_PGSHIFT)            /* bytes/page */



Home | Main Index | Thread Index | Old Index