Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include/arm32 Include param.h here - userland e...
details: https://anonhg.NetBSD.org/src/rev/ada5e1841ee6
branches: trunk
changeset: 327062:ada5e1841ee6
user: martin <martin%NetBSD.org@localhost>
date: Wed Feb 26 11:00:40 2014 +0000
description:
Include param.h here - userland expects VM_* defines to work with just
this include, but PAGE_SIZE relies on PGSHIFT now, which is not defined
here.
Matt: please rearrange/cleanup differently if you prefer (but test build
src/tests/lib/libc/sys/t_mlock for example.)
diffstat:
sys/arch/arm/include/arm32/vmparam.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r ebdf3722480f -r ada5e1841ee6 sys/arch/arm/include/arm32/vmparam.h
--- a/sys/arch/arm/include/arm32/vmparam.h Wed Feb 26 10:56:10 2014 +0000
+++ b/sys/arch/arm/include/arm32/vmparam.h Wed Feb 26 11:00:40 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.31 2014/02/26 01:55:02 matt Exp $ */
+/* $NetBSD: vmparam.h,v 1.32 2014/02/26 11:00:40 martin Exp $ */
/*
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -45,6 +45,7 @@
*/
#include <arm/arm32/pte.h> /* pt_entry_t */
+#include <arm/arm32/param.h> /* PGSHIFT for PAGE_SIZE */
#define USRSTACK VM_MAXUSER_ADDRESS
Home |
Main Index |
Thread Index |
Old Index