aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/include/param.h
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2009-09-18 17:04:57 +0000
committerAlan Cox <alc@FreeBSD.org>2009-09-18 17:04:57 +0000
commitfe105d45a2337d85cfb6ebb9bc7323f5efc35a0a (patch)
tree7d24849cdaea55926149a790b882fea6f17045ab /sys/arm/include/param.h
parent790dd1b5af4890149e27fd0a993fe7368df21fd6 (diff)
downloadsrc-fe105d45a2337d85cfb6ebb9bc7323f5efc35a0a.tar.gz
src-fe105d45a2337d85cfb6ebb9bc7323f5efc35a0a.zip
Add a new sysctl for reporting all of the supported page sizes.
Reviewed by: jhb MFC after: 3 weeks
Notes
Notes: svn path=/head/; revision=197316
Diffstat (limited to 'sys/arm/include/param.h')
-rw-r--r--sys/arm/include/param.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/include/param.h b/sys/arm/include/param.h
index 2161103a52e7..1694bc43c5ed 100644
--- a/sys/arm/include/param.h
+++ b/sys/arm/include/param.h
@@ -92,6 +92,8 @@
#define NBPDR (1 << PDR_SHIFT)
#define NPDEPG (1 << (32 - PDR_SHIFT))
+#define MAXPAGESIZES 1 /* maximum number of supported page sizes */
+
#ifndef KSTACK_PAGES
#define KSTACK_PAGES 2
#endif /* !KSTACK_PAGES */