Bandaid fix for previous commit while I figure out why it broke. This
caused crashes early in boot on i386 UP machines. Reported by: phk Pointy hat to: jake
This commit is contained in:
parent
280085cacf
commit
d6c1d0686d
@ -111,7 +111,7 @@
|
||||
#ifdef SMP
|
||||
#define NKPDE (KVA_PAGES - 1) /* number of page tables/pde's */
|
||||
#else
|
||||
#define NKPDE (KVA_PAGES) /* number of page tables/pde's */
|
||||
#define NKPDE (KVA_PAGES - 1) /* number of page tables/pde's */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -127,7 +127,7 @@
|
||||
#define MPPTDI (NPDEPTD-1) /* per cpu ptd entry */
|
||||
#define KPTDI (MPPTDI-NKPDE) /* start of kernel virtual pde's */
|
||||
#else
|
||||
#define KPTDI (NPDEPTD-NKPDE)/* start of kernel virtual pde's */
|
||||
#define KPTDI ((NPDEPTD-1)-NKPDE)/* start of kernel virtual pde's */
|
||||
#endif /* SMP */
|
||||
#define PTDPTDI (KPTDI-NPGPTD) /* ptd entry that points to ptd! */
|
||||
|
||||
|
@ -111,7 +111,7 @@
|
||||
#ifdef SMP
|
||||
#define NKPDE (KVA_PAGES - 1) /* number of page tables/pde's */
|
||||
#else
|
||||
#define NKPDE (KVA_PAGES) /* number of page tables/pde's */
|
||||
#define NKPDE (KVA_PAGES - 1) /* number of page tables/pde's */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -127,7 +127,7 @@
|
||||
#define MPPTDI (NPDEPTD-1) /* per cpu ptd entry */
|
||||
#define KPTDI (MPPTDI-NKPDE) /* start of kernel virtual pde's */
|
||||
#else
|
||||
#define KPTDI (NPDEPTD-NKPDE)/* start of kernel virtual pde's */
|
||||
#define KPTDI ((NPDEPTD-1)-NKPDE)/* start of kernel virtual pde's */
|
||||
#endif /* SMP */
|
||||
#define PTDPTDI (KPTDI-NPGPTD) /* ptd entry that points to ptd! */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user