summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-12-05 01:17:53 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-12-05 01:17:53 +0000
commit40fdbfec5396f42691ddbded360cb9e7051859ab (patch)
tree39dd355660feefcbbf98b7c98a69585c5ffaf962 /sys/powerpc/include
parent62b524634f7ab5c60a750d132e194101f89b8d31 (diff)
downloadFreeBSD-src-40fdbfec5396f42691ddbded360cb9e7051859ab.zip
FreeBSD-src-40fdbfec5396f42691ddbded360cb9e7051859ab.tar.gz
Switch which software-reserved bit is used to designate a locked PTE
to correspond to the definition used by the PAPR spec so that its PTE insertion algorithm will properly respect it.
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r--sys/powerpc/include/pte.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/include/pte.h b/sys/powerpc/include/pte.h
index 6c4eb93..8b9dd4e 100644
--- a/sys/powerpc/include/pte.h
+++ b/sys/powerpc/include/pte.h
@@ -95,8 +95,8 @@ struct lpteg {
/* High quadword: */
#define LPTE_VSID_SHIFT 12
#define LPTE_API 0x0000000000000F80ULL
-#define LPTE_WIRED 0x0000000000000010ULL
-#define LPTE_LOCKED 0x0000000000000008ULL
+#define LPTE_LOCKED 0x0000000000000040ULL
+#define LPTE_WIRED 0x0000000000000008ULL
#define LPTE_BIG 0x0000000000000004ULL /* 4kb/16Mb page */
#define LPTE_HID 0x0000000000000002ULL
#define LPTE_VALID 0x0000000000000001ULL
OpenPOWER on IntegriCloud