diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2011-05-30 22:25:25 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2011-05-30 22:25:25 +0000 |
commit | 4ed4f8dde5fa32c869d6204b0110b4b40f3e5a2e (patch) | |
tree | 64c44ccc81ef23bb074f8cb14168a349bf4cfd8c /sys/arch/mvme88k | |
parent | 973b968f1e5f9aebd5ffdbba3ea1a2c40be6e98e (diff) |
Remove the freelist member from vm_physseg
The new world order of pmemrange makes this data completely redundant
(being dealt with by the pmemrange constraints instead). Remove all code
that messes with the freelist.
While touching every caller of uvm_page_physload() anyway, add the flags
argument to all callers (all but one is 0 and that one already used
PHYSLOAD_DEVICE) and remove the macro magic to allow callers to continue
without it.
Should shrink the code a bit, as well.
matthew@ pointed out some mistakes i'd made.
``freelist death, I like. Ok.' ariane@
`I agree with the general direction, go ahead and i'll fix any fallout
shortly'' miod@ (68k 88k and vax i could not check would build)
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c index 2adf88190f4..89ba6cd5ba4 100644 --- a/sys/arch/mvme88k/mvme88k/machdep.c +++ b/sys/arch/mvme88k/mvme88k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.241 2011/01/05 22:20:22 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.242 2011/05/30 22:25:21 oga Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -990,7 +990,7 @@ mvme_bootstrap() * might want to register ECC memory separately later on... */ uvm_page_physload(atop(avail_start), atop(avail_end), - atop(avail_start), atop(avail_end), VM_FREELIST_DEFAULT); + atop(avail_start), atop(avail_end), 0); /* * Initialize message buffer. |