The pmap_prefault_pageorder[] array was initialize with wrong values
due to a missing comma. I have no idea what trouble, if any, this may have caused. Pointed out by: FlexeLint
This commit is contained in:
parent
e0dae5aaa4
commit
fd8e2ebcf7
@ -2465,9 +2465,9 @@ pmap_object_init_pt(pmap_t pmap, vm_offset_t addr,
|
||||
#define PAGEORDER_SIZE (PFBAK+PFFOR)
|
||||
|
||||
static int pmap_prefault_pageorder[] = {
|
||||
-PAGE_SIZE, PAGE_SIZE,
|
||||
-1 * PAGE_SIZE, 1 * PAGE_SIZE,
|
||||
-2 * PAGE_SIZE, 2 * PAGE_SIZE,
|
||||
-3 * PAGE_SIZE, 3 * PAGE_SIZE
|
||||
-3 * PAGE_SIZE, 3 * PAGE_SIZE,
|
||||
-4 * PAGE_SIZE, 4 * PAGE_SIZE
|
||||
};
|
||||
|
||||
|
@ -2465,9 +2465,9 @@ pmap_object_init_pt(pmap_t pmap, vm_offset_t addr,
|
||||
#define PAGEORDER_SIZE (PFBAK+PFFOR)
|
||||
|
||||
static int pmap_prefault_pageorder[] = {
|
||||
-PAGE_SIZE, PAGE_SIZE,
|
||||
-1 * PAGE_SIZE, 1 * PAGE_SIZE,
|
||||
-2 * PAGE_SIZE, 2 * PAGE_SIZE,
|
||||
-3 * PAGE_SIZE, 3 * PAGE_SIZE
|
||||
-3 * PAGE_SIZE, 3 * PAGE_SIZE,
|
||||
-4 * PAGE_SIZE, 4 * PAGE_SIZE
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user