Skip to content

Commit

Permalink
s390: Clean up includes
Browse files Browse the repository at this point in the history
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>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Message-id: 1453832250-766-8-git-send-email-peter.maydell@linaro.org
  • Loading branch information
pm215 committed Jan 29, 2016
1 parent db5ebe5 commit 9615495
Show file tree
Hide file tree
Showing 32 changed files with 32 additions and 4 deletions.
1 change: 1 addition & 0 deletions hw/char/sclpconsole-lm.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
*
*/

#include "qemu/osdep.h"
#include "hw/qdev.h"
#include "qemu/thread.h"
#include "qemu/error-report.h"
Expand Down
1 change: 1 addition & 0 deletions hw/char/sclpconsole.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*
*/

#include "qemu/osdep.h"
#include <hw/qdev.h>
#include "qemu/thread.h"
#include "qemu/error-report.h"
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/css.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* directory.
*/

#include "qemu/osdep.h"
#include <hw/qdev.h>
#include "qemu/bitops.h"
#include "exec/address-spaces.h"
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/event-facility.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*
*/

#include "qemu/osdep.h"
#include "sysemu/sysemu.h"

#include "hw/s390x/sclp.h"
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/ipl.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*
*/

#include "qemu/osdep.h"
#include "sysemu/sysemu.h"
#include "cpu.h"
#include "elf.h"
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/s390-pci-bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* directory.
*/

#include "qemu/osdep.h"
#include "s390-pci-bus.h"
#include <hw/pci/pci_bus.h>
#include <hw/pci/msi.h>
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/s390-pci-inst.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* directory.
*/

#include "qemu/osdep.h"
#include "s390-pci-inst.h"
#include "s390-pci-bus.h"
#include <exec/memory-internal.h>
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/s390-skeys-kvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* directory.
*/

#include "qemu/osdep.h"
#include "hw/s390x/storage-keys.h"
#include "sysemu/kvm.h"
#include "qemu/error-report.h"
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/s390-skeys.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* directory.
*/

#include "qemu/osdep.h"
#include "hw/boards.h"
#include "qmp-commands.h"
#include "migration/qemu-file.h"
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/s390-virtio-ccw.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* directory.
*/

#include "qemu/osdep.h"
#include "hw/boards.h"
#include "exec/address-spaces.h"
#include "s390-virtio.h"
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/s390-virtio-hcall.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* directory.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "hw/s390x/s390-virtio.h"

Expand Down
1 change: 1 addition & 0 deletions hw/s390x/s390-virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "hw/hw.h"
#include "qapi/qmp/qerror.h"
#include "qemu/error-report.h"
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/sclp.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "sysemu/kvm.h"
#include "exec/memory.h"
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/sclpcpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* option) any later version. See the COPYING file in the top-level directory.
*
*/
#include "qemu/osdep.h"
#include "sysemu/sysemu.h"
#include "hw/s390x/sclp.h"
#include "hw/s390x/event-facility.h"
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/sclpquiesce.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* option) any later version. See the COPYING file in the top-level directory.
*
*/
#include "qemu/osdep.h"
#include <hw/qdev.h>
#include "sysemu/sysemu.h"
#include "hw/s390x/sclp.h"
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/virtio-ccw.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* directory.
*/

#include "qemu/osdep.h"
#include "hw/hw.h"
#include "sysemu/block-backend.h"
#include "sysemu/blockdev.h"
Expand Down
1 change: 1 addition & 0 deletions hw/watchdog/wdt_diag288.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*
*/

#include "qemu/osdep.h"
#include "sysemu/watchdog.h"
#include "hw/sysbus.h"
#include "qemu/timer.h"
Expand Down
1 change: 1 addition & 0 deletions target-s390x/arch_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "elf.h"
#include "exec/cpu-all.h"
Expand Down
1 change: 1 addition & 0 deletions target-s390x/cc_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/helper-proto.h"
#include "qemu/host-utils.h"
Expand Down
1 change: 1 addition & 0 deletions target-s390x/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* GNU GPL, version 2 or (at your option) any later version.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "qemu-common.h"
#include "qemu/timer.h"
Expand Down
1 change: 1 addition & 0 deletions target-s390x/fpu_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/cpu_ldst.h"
#include "exec/helper-proto.h"
Expand Down
2 changes: 1 addition & 1 deletion target-s390x/gdbstub.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "exec/gdbstub.h"
#include "qemu/bitops.h"
Expand Down
1 change: 1 addition & 0 deletions target-s390x/helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/gdbstub.h"
#include "qemu/timer.h"
Expand Down
1 change: 1 addition & 0 deletions target-s390x/int_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "qemu/host-utils.h"
#include "exec/helper-proto.h"
Expand Down
1 change: 1 addition & 0 deletions target-s390x/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* option) any later version. See the COPYING file in the top-level directory.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "sysemu/kvm.h"

Expand Down
2 changes: 1 addition & 1 deletion target-s390x/ioinst.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* directory.
*/

#include <sys/types.h>
#include "qemu/osdep.h"

#include "cpu.h"
#include "ioinst.h"
Expand Down
2 changes: 1 addition & 1 deletion target-s390x/kvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include <sys/types.h>
#include "qemu/osdep.h"
#include <sys/ioctl.h>
#include <sys/mman.h>

Expand Down
1 change: 1 addition & 0 deletions target-s390x/machine.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* or (at your option) any later version.
*/

#include "qemu/osdep.h"
#include "hw/hw.h"
#include "cpu.h"
#include "sysemu/kvm.h"
Expand Down
1 change: 1 addition & 0 deletions target-s390x/mem_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/helper-proto.h"
#include "exec/cpu_ldst.h"
Expand Down
2 changes: 1 addition & 1 deletion target-s390x/misc_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/memory.h"
#include "qemu/host-utils.h"
#include "exec/helper-proto.h"
#include <string.h>
#include "sysemu/kvm.h"
#include "qemu/timer.h"
#include "exec/address-spaces.h"
Expand Down
1 change: 1 addition & 0 deletions target-s390x/mmu_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* GNU General Public License for more details.
*/

#include "qemu/osdep.h"
#include "qemu/error-report.h"
#include "exec/address-spaces.h"
#include "cpu.h"
Expand Down
1 change: 1 addition & 0 deletions target-s390x/translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
# define LOG_DISAS(...) do { } while (0)
#endif

#include "qemu/osdep.h"
#include "cpu.h"
#include "disas/disas.h"
#include "tcg-op.h"
Expand Down

0 comments on commit 9615495

Please sign in to comment.