X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/de355530ae67247cbd0da700edb3a2a1dae884c2..cc9f6e38162d3c1bf6ca97536c2477f476c8e01b:/bsd/kern/spl.c diff --git a/bsd/kern/spl.c b/bsd/kern/spl.c index 4ab15677d..52768d76b 100644 --- a/bsd/kern/spl.c +++ b/bsd/kern/spl.c @@ -27,8 +27,6 @@ unsigned sploff( void) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "sploff()"); return(0); } @@ -36,8 +34,6 @@ unsigned splhigh( void) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "splhigh()"); return(0); } @@ -45,8 +41,6 @@ unsigned splsched( void) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "splsched()"); return(0); } @@ -54,8 +48,6 @@ unsigned splclock ( void) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "splclock()"); return(0); } @@ -63,8 +55,6 @@ unsigned splpower ( void) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "splpower()"); return(0); } @@ -72,8 +62,6 @@ unsigned splvm( void) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "splvm()"); return(0); } @@ -81,8 +69,6 @@ unsigned splbio ( void) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "splbio()"); return(0); } @@ -90,16 +76,12 @@ unsigned splimp( void) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "splimp()"); return(0); } unsigned spltty(void) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "spltty()"); return(0); } @@ -107,55 +89,42 @@ unsigned splnet( void) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "splnet()"); return(0); } unsigned splsoftclock(void) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "splsoftclock()"); return(0); } void spllo(void) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "spllo()"); return; } void spl0(void) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "spl0()"); return; } void spln(unsigned t) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "spln()"); return; } void splx(unsigned l) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "splx()"); return; } void splon(unsigned l) { - if(thread_funnel_get() == THR_FUNNEL_NULL) - panic("%s not under funnel", "splon()"); return; } +