Browse Source

hw/intc: Clean up includes

Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.

This commit was created with scripts/clean-includes.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1453832250-766-27-git-send-email-peter.maydell@linaro.org
Peter Maydell 9 years ago
parent
commit
90191d07a6

+ 1 - 0
hw/intc/etraxfs_pic.c

@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 //#include "pc.h"
 //#include "pc.h"

+ 1 - 0
hw/intc/heathrow_pic.c

@@ -22,6 +22,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/ppc/mac.h"
 #include "hw/ppc/mac.h"
 
 

+ 1 - 0
hw/intc/i8259.c

@@ -21,6 +21,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/i386/pc.h"
 #include "hw/i386/pc.h"
 #include "hw/isa/isa.h"
 #include "hw/isa/isa.h"

+ 1 - 0
hw/intc/i8259_common.c

@@ -22,6 +22,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+#include "qemu/osdep.h"
 #include "hw/i386/pc.h"
 #include "hw/i386/pc.h"
 #include "hw/isa/i8259_internal.h"
 #include "hw/isa/i8259_internal.h"
 
 

+ 1 - 0
hw/intc/omap_intc.c

@@ -17,6 +17,7 @@
  * You should have received a copy of the GNU General Public License along
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/arm/omap.h"
 #include "hw/arm/omap.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"

+ 1 - 0
hw/intc/openpic.c

@@ -33,6 +33,7 @@
  * Serial interrupts, as implemented in Raven chipset are not supported yet.
  * Serial interrupts, as implemented in Raven chipset are not supported yet.
  *
  *
  */
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/ppc/mac.h"
 #include "hw/ppc/mac.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci.h"

+ 1 - 0
hw/intc/openpic_kvm.c

@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include <sys/ioctl.h>
 #include <sys/ioctl.h>
 #include "exec/address-spaces.h"
 #include "exec/address-spaces.h"
 #include "hw/hw.h"
 #include "hw/hw.h"

+ 1 - 0
hw/intc/s390_flic.c

@@ -10,6 +10,7 @@
  * directory.
  * directory.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "migration/qemu-file.h"
 #include "migration/qemu-file.h"

+ 1 - 0
hw/intc/s390_flic_kvm.c

@@ -10,6 +10,7 @@
  * directory.
  * directory.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include <sys/ioctl.h>
 #include <sys/ioctl.h>
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"

+ 1 - 0
hw/intc/sh_intc.c

@@ -8,6 +8,7 @@
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sh4/sh_intc.h"
 #include "hw/sh4/sh_intc.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/sh4/sh.h"
 #include "hw/sh4/sh.h"

+ 1 - 0
hw/intc/slavio_intctl.c

@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sparc/sun4m.h"
 #include "hw/sparc/sun4m.h"
 #include "monitor/monitor.h"
 #include "monitor/monitor.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"

+ 1 - 0
hw/intc/xilinx_intc.c

@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "hw/hw.h"
 #include "hw/hw.h"