diff mbox

[21/25] sparse: declare reboot_in_progress

Message ID 1424776479-13958-22-git-send-email-clg@fr.ibm.com
State Not Applicable
Headers show

Commit Message

Cédric Le Goater Feb. 24, 2015, 11:14 a.m. UTC
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
---
 core/fast-reboot.c |    3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

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;