diff options
author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2016-07-11 21:25:28 +0000 |
---|---|---|
committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2016-07-11 21:25:28 +0000 |
commit | 8c636a11dc3c59260077c11bf06b03a1fe321d23 (patch) | |
tree | a7a2f7b556335a7eb36df1a2fffd42cc897a660b /sys/net/netisr.c | |
parent | 1ef4039ac7067871a495a3b81a390f68129e273b (diff) | |
download | src-8c636a11dc3c59260077c11bf06b03a1fe321d23.tar.gz src-8c636a11dc3c59260077c11bf06b03a1fe321d23.zip |
Remove assumptions in MI code that the BSP is CPU 0.
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=302595
Diffstat (limited to 'sys/net/netisr.c')
-rw-r--r-- | sys/net/netisr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/net/netisr.c b/sys/net/netisr.c index 318e1a3f6e0b..24ac96c09715 100644 --- a/sys/net/netisr.c +++ b/sys/net/netisr.c @@ -1273,8 +1273,6 @@ netisr_init(void *arg) struct pcpu *pc; #endif - KASSERT(curcpu == 0, ("%s: not on CPU 0", __func__)); - NETISR_LOCK_INIT(); if (netisr_maxthreads == 0 || netisr_maxthreads < -1 ) netisr_maxthreads = 1; /* default behavior */ |