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:
Poul-Henning Kamp 2002-10-01 20:51:47 +00:00
parent 0237755d1a
commit b29d22f94e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104319
2 changed files with 4 additions and 4 deletions

View file

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

View file

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