summaryrefslogtreecommitdiffstats
path: root/sys/dev/ti
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2011-12-15 05:07:16 +0000
committeralc <alc@FreeBSD.org>2011-12-15 05:07:16 +0000
commitd368df9b98614b31eaf206bcb72977d04898e546 (patch)
tree474b914dfcfdbb58999549098e911facca00bfca /sys/dev/ti
parenta25ab95a036223f5cc7a802a70f86e10547c70d9 (diff)
downloadFreeBSD-src-d368df9b98614b31eaf206bcb72977d04898e546.zip
FreeBSD-src-d368df9b98614b31eaf206bcb72977d04898e546.tar.gz
Eliminate vestiges of page coloring.
Diffstat (limited to 'sys/dev/ti')
-rw-r--r--sys/dev/ti/if_ti.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index d57be53..ead6901 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -1562,7 +1562,6 @@ ti_newbuf_jumbo(struct ti_softc *sc, int idx, struct mbuf *m_old)
struct mbuf *m[3] = {NULL, NULL, NULL};
struct ti_rx_desc_ext *r;
vm_page_t frame;
- static int color;
/* 1 extra buf to make nobufs easy*/
struct sf_buf *sf[3] = {NULL, NULL, NULL};
int i;
@@ -1605,7 +1604,7 @@ ti_newbuf_jumbo(struct ti_softc *sc, int idx, struct mbuf *m_old)
"failed -- packet dropped!\n");
goto nobufs;
}
- frame = vm_page_alloc(NULL, color++,
+ frame = vm_page_alloc(NULL, 0,
VM_ALLOC_INTERRUPT | VM_ALLOC_NOOBJ |
VM_ALLOC_WIRED);
if (frame == NULL) {
OpenPOWER on IntegriCloud