[Skiboot] [PATCH 21/25] sparse: declare reboot_in_progress
Cédric Le Goater
clg at fr.ibm.com
Tue Feb 24 22:14:35 AEDT 2015
Signed-off-by: Cédric Le Goater <clg at fr.ibm.com>
---
core/fast-reboot.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/core/fast-reboot.c b/core/fast-reboot.c
index 30b77e9bc294..b0128f86383a 100644
--- a/core/fast-reboot.c
+++ b/core/fast-reboot.c
@@ -46,7 +46,10 @@
#define EX0_TCTL_DIRECT_CONTROLS3 0x080104c0
#define TCTL_DC_SRESET_REQUEST PPC_BIT(60)
+
/* Flag tested by the OPAL entry code */
+extern uint8_t reboot_in_progress;
+
uint8_t reboot_in_progress;
static struct cpu_thread *resettor, *resettee;
--
1.7.10.4
More information about the Skiboot
mailing list