summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2012-08-17 20:15:01 +0000
committeralc <alc@FreeBSD.org>2012-08-17 20:15:01 +0000
commiteb095ea27f32265c9cbdb6ec2c82265c4c0f5f37 (patch)
tree26df2eb516d09aff2fa0b2f2bd50d862506f393f /sys/mips
parenta941b72fdcab943e0f1e1808f5006a4bcaefca52 (diff)
downloadFreeBSD-src-eb095ea27f32265c9cbdb6ec2c82265c4c0f5f37.zip
FreeBSD-src-eb095ea27f32265c9cbdb6ec2c82265c4c0f5f37.tar.gz
Eliminate another vestige of page coloring.
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/uma_machdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/mips/mips/uma_machdep.c b/sys/mips/mips/uma_machdep.c
index 690fc23..798e632 100644
--- a/sys/mips/mips/uma_machdep.c
+++ b/sys/mips/mips/uma_machdep.c
@@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
void *
uma_small_alloc(uma_zone_t zone, int bytes, u_int8_t *flags, int wait)
{
- static vm_pindex_t color;
vm_paddr_t pa;
vm_page_t m;
int pflags;
@@ -56,7 +55,7 @@ uma_small_alloc(uma_zone_t zone, int bytes, u_int8_t *flags, int wait)
pflags = VM_ALLOC_SYSTEM;
for (;;) {
- m = pmap_alloc_direct_page(color++, pflags);
+ m = pmap_alloc_direct_page(0, pflags);
if (m == NULL) {
if (wait & M_NOWAIT)
return (NULL);
OpenPOWER on IntegriCloud