Don't include <machine/atomic.h> since it's not used.
This commit is contained in:
parent
d990f57db0
commit
4b24ff1776
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: omap2430_intr.c,v 1.3 2008/08/27 11:03:10 matt Exp $ */
|
||||
/* $NetBSD: omap2430_intr.c,v 1.4 2008/11/19 06:26:27 matt Exp $ */
|
||||
/*
|
||||
* Define the SDP2430 specific information and then include the generic OMAP
|
||||
* interrupt header.
|
||||
@ -35,10 +35,11 @@
|
||||
#include "opt_omap.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: omap2430_intr.c,v 1.3 2008/08/27 11:03:10 matt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: omap2430_intr.c,v 1.4 2008/11/19 06:26:27 matt Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/evcnt.h>
|
||||
#include <sys/atomic.h>
|
||||
|
||||
#include <uvm/uvm_extern.h>
|
||||
|
||||
@ -47,7 +48,6 @@ __KERNEL_RCSID(0, "$NetBSD: omap2430_intr.c,v 1.3 2008/08/27 11:03:10 matt Exp $
|
||||
#include <arm/cpu.h>
|
||||
#include <arm/armreg.h>
|
||||
#include <arm/cpufunc.h>
|
||||
#include <machine/atomic.h>
|
||||
#include <arm/omap/omap2_reg.h>
|
||||
|
||||
#include <machine/bus.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: omap2430_intr.h,v 1.2 2008/04/27 18:58:45 matt Exp $ */
|
||||
/* $NetBSD: omap2430_intr.h,v 1.3 2008/11/19 06:26:27 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Define the SDP2430 specific information and then include the generic OMAP
|
||||
@ -46,7 +46,6 @@
|
||||
#include <arm/cpu.h>
|
||||
#include <arm/armreg.h>
|
||||
#include <arm/cpufunc.h>
|
||||
#include <machine/atomic.h>
|
||||
|
||||
uint32_t omap_microtimer_read(void);
|
||||
uint32_t omap_microtimer_interval(uint32_t start, uint32_t end);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: omap2_gpio.c,v 1.5 2008/08/27 11:03:10 matt Exp $ */
|
||||
/* $NetBSD: omap2_gpio.c,v 1.6 2008/11/19 06:26:27 matt Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
@ -28,7 +28,7 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: omap2_gpio.c,v 1.5 2008/08/27 11:03:10 matt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: omap2_gpio.c,v 1.6 2008/11/19 06:26:27 matt Exp $");
|
||||
|
||||
#define _INTR_PRIVATE
|
||||
|
||||
@ -38,6 +38,7 @@ __KERNEL_RCSID(0, "$NetBSD: omap2_gpio.c,v 1.5 2008/08/27 11:03:10 matt Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/evcnt.h>
|
||||
#include <sys/atomic.h>
|
||||
|
||||
#include <uvm/uvm_extern.h>
|
||||
|
||||
@ -47,7 +48,6 @@ __KERNEL_RCSID(0, "$NetBSD: omap2_gpio.c,v 1.5 2008/08/27 11:03:10 matt Exp $");
|
||||
#include <arm/armreg.h>
|
||||
#include <arm/cpufunc.h>
|
||||
|
||||
#include <machine/atomic.h>
|
||||
#include <machine/bus.h>
|
||||
|
||||
#include <arm/omap/omap2_reg.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: omap2_intr.h,v 1.3 2008/08/27 11:03:10 matt Exp $ */
|
||||
/* $NetBSD: omap2_intr.h,v 1.4 2008/11/19 06:26:27 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Define the SDP2430 specific information and then include the generic OMAP
|
||||
@ -37,7 +37,6 @@
|
||||
#include <arm/cpu.h>
|
||||
#include <arm/armreg.h>
|
||||
#include <arm/cpufunc.h>
|
||||
#include <machine/atomic.h>
|
||||
|
||||
uint32_t omap_microtimer_read(void);
|
||||
uint32_t omap_microtimer_interval(uint32_t start, uint32_t end);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: omap_intr.h,v 1.3 2008/04/27 18:58:45 matt Exp $ */
|
||||
/* $NetBSD: omap_intr.h,v 1.4 2008/11/19 06:26:27 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@ -43,7 +43,6 @@
|
||||
#include <arm/cpu.h>
|
||||
#include <arm/armreg.h>
|
||||
#include <arm/cpufunc.h>
|
||||
#include <machine/atomic.h>
|
||||
|
||||
#define OMAP_IRQ_MIN 0
|
||||
#define OMAP_NIRQ (OMAP_INT_L1_NIRQ + OMAP_INT_L2_NIRQ)
|
||||
|
Loading…
x
Reference in New Issue
Block a user