]> git.proxmox.com Git - mirror_qemu.git/commitdiff
target/s390x: move gtod_*() declarations to s390-virtio.h
authorDavid Hildenbrand <david@redhat.com>
Fri, 18 Aug 2017 11:43:43 +0000 (13:43 +0200)
committerCornelia Huck <cohuck@redhat.com>
Wed, 30 Aug 2017 16:23:25 +0000 (18:23 +0200)
The functions are not used in target/s390x/ so a header in hw/s390x/
is a better place.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170818114353.13455-9-david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/s390-virtio.h
target/s390x/cpu.h

index f2377a3e0e1ad8243c7d0459b75225d45f96e398..ca97fd68142bfd6c1abc1605ee24a01ea5d1827c 100644 (file)
@@ -30,4 +30,6 @@ void s390_create_virtio_net(BusState *bus, const char *name);
 void s390_nmi(NMIState *n, int cpu_index, Error **errp);
 void s390_machine_reset(void);
 void s390_memory_init(ram_addr_t mem_size);
+void gtod_save(QEMUFile *f, void *opaque);
+int gtod_load(QEMUFile *f, void *opaque, int version_id);
 #endif
index 3ce7ffc126d74d9022cf529c22644e576b1c0106..c40d70dd707c0964f22fd45cf4a043f316c81e06 100644 (file)
@@ -594,9 +594,6 @@ static inline uint8_t s390_cpu_get_state(S390CPU *cpu)
     return cpu->env.cpu_state;
 }
 
-void gtod_save(QEMUFile *f, void *opaque);
-int gtod_load(QEMUFile *f, void *opaque, int version_id);
-
 void cpu_inject_ext(S390CPU *cpu, uint32_t code, uint32_t param,
                     uint64_t param64);