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.
This commit is contained in:
Nathan Whitehorn 2010-12-05 01:17:53 +00:00
parent 08291968f2
commit 3b237732a5

View File

@ -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