]> git.proxmox.com Git - mirror_qemu.git/commitdiff
s390x: move subsystem_reset() to s390-virtio-ccw.h
authorDavid Hildenbrand <david@redhat.com>
Wed, 13 Sep 2017 13:24:01 +0000 (15:24 +0200)
committerCornelia Huck <cohuck@redhat.com>
Tue, 19 Sep 2017 16:31:31 +0000 (18:31 +0200)
Implemented in s390-virtio-ccw.c, so move it to the right header.
We can also drop the extern. Fix up one include.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170913132417.24384-7-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
include/hw/s390x/s390-virtio-ccw.h
target/s390x/cpu.h
target/s390x/diag.c

index 41a9d2862b224b5458c6e1daa70fbb41c7024583..a9a90c20220a8648f391aa9455389c47d0c604c4 100644 (file)
@@ -56,4 +56,6 @@ bool gs_allowed(void);
  */
 bool css_migration_enabled(void);
 
+void subsystem_reset(void);
+
 #endif
index 7073fa59e9674f4107decdec5ada4e2cfeaaf7bc..372f7d88850a681eb4b59df211838d518d9782bc 100644 (file)
@@ -721,7 +721,6 @@ int s390_cpu_virt_mem_rw(S390CPU *cpu, vaddr laddr, uint8_t ar, void *hostbuf,
 
 /* outside of target/s390x/ */
 S390CPU *s390_cpu_addr2state(uint16_t cpu_addr);
-extern void subsystem_reset(void);
 int sclp_service_call(CPUS390XState *env, uint64_t sccb, uint32_t code);
 
 #endif
index e6b5e6de37c21801eaa4726d2e9c8e390f38f833..82a623948da2d822aecaf4f24d266e073090e8ad 100644 (file)
@@ -20,6 +20,7 @@
 #include "hw/watchdog/wdt_diag288.h"
 #include "sysemu/cpus.h"
 #include "hw/s390x/ipl.h"
+#include "hw/s390x/s390-virtio-ccw.h"
 
 static int modified_clear_reset(S390CPU *cpu)
 {