Move include of <machine/ipl.h> inside ifndef SMP where it is used, to

avoid getting 'unused include file' warnings in the SMP case.
This commit is contained in:
Eivind Eklund 1998-02-10 17:10:23 +00:00
parent 3e7e515734
commit cfa5673efd

View File

@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: kern_intr.c,v 1.11 1997/08/21 06:39:41 fsmp Exp $
* $Id: kern_intr.c,v 1.12 1997/10/06 04:27:32 nate Exp $
*
*/
@ -39,8 +39,6 @@
#include <i386/isa/intr_machdep.h>
#include <sys/interrupt.h>
#include <machine/ipl.h>
#include <stddef.h>
typedef struct intrec {
@ -61,6 +59,8 @@ typedef struct intrec {
*/
#ifndef SMP
#include <machine/ipl.h>
static inline intrmask_t
splq(intrmask_t mask)
{