aboutsummaryrefslogtreecommitdiff
path: root/hw/sbe-p9.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-02-25 16:24:31 +1100
committerStewart Smith <stewart@linux.ibm.com>2019-02-25 21:59:03 -0600
commitf3ad5bb092497be1dc1f2bb9ed519749c73a3422 (patch)
tree22c226b6ea0b28c210be2933c41df2d8304e0aab /hw/sbe-p9.c
parentc826e1ca9e5b8a21989325536f2f9eb5f2c87607 (diff)
downloadskiboot-f3ad5bb092497be1dc1f2bb9ed519749c73a3422.zip
skiboot-f3ad5bb092497be1dc1f2bb9ed519749c73a3422.tar.gz
skiboot-f3ad5bb092497be1dc1f2bb9ed519749c73a3422.tar.bz2
sparse: symbol 'sbe_timer_lock' was not declared. Should it be static?
Yes, yes it should. Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw/sbe-p9.c')
-rw-r--r--hw/sbe-p9.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/sbe-p9.c b/hw/sbe-p9.c
index d52ada1..c28dbb9 100644
--- a/hw/sbe-p9.c
+++ b/hw/sbe-p9.c
@@ -1,4 +1,4 @@
-/* Copyright 2017-2018 IBM Corp.
+/* Copyright 2017-2019 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -91,7 +91,7 @@ static uint64_t sbe_last_gen_stamp;
static uint64_t sbe_timer_target;
/* Timer lock */
-struct lock sbe_timer_lock;
+static struct lock sbe_timer_lock;
/*
* Minimum timeout value for P9 is 500 microseconds. After that