[Skiboot] [PATCH 09/25] sparse: hmi_lock can be static

Cédric Le Goater clg at fr.ibm.com
Tue Feb 24 22:14:23 AEDT 2015


Signed-off-by: Cédric Le Goater <clg at fr.ibm.com>
---
 core/exceptions.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/exceptions.c b/core/exceptions.c
index 15870341948a..552123aff23d 100644
--- a/core/exceptions.c
+++ b/core/exceptions.c
@@ -37,7 +37,7 @@ extern uint32_t exc_secondary_patch_mtsrr0;
 extern uint32_t exc_secondary_patch_mtsrr1;
 extern uint32_t exc_secondary_patch_rfid;
 
-struct lock hmi_lock = LOCK_UNLOCKED;
+static struct lock hmi_lock = LOCK_UNLOCKED;
 
 #define REG		"%016llx"
 #define REGS_PER_LINE	4
-- 
1.7.10.4



More information about the Skiboot mailing list