From b29d22f94eeff4beb385f4214894dcf5937095b4 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Tue, 1 Oct 2002 20:51:47 +0000 Subject: 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 --- sys/amd64/amd64/pmap.c | 4 ++-- sys/i386/i386/pmap.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 57e54c6550ca..0c9a2c746b35 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -2465,9 +2465,9 @@ retry: #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 }; diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 57e54c6550ca..0c9a2c746b35 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -2465,9 +2465,9 @@ retry: #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 }; -- cgit v1.3