aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPushkar Jambhlekar <pushkar.iit@gmail.com>2017-05-11 01:01:24 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-05-14 07:33:24 -0400
commit0bae5fd3330be0517fba697e6b228601d421fade (patch)
tree7bffbd028c8b205d50d6e6f2041f72697febd3ff
parent967b08c25a091867b04261fa34addedc950256f1 (diff)
PM / hibernate: Declare variables as static
Fixing sparse warnings: 'symbol not declared. Should it be static?' Signed-off-by: Pushkar Jambhlekar <pushkar.iit@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--kernel/power/snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
index d79a38de425a..a628cccafa4a 100644
--- a/kernel/power/snapshot.c
+++ b/kernel/power/snapshot.c
@@ -1422,7 +1422,7 @@ static unsigned int nr_meta_pages;
1422 * Numbers of normal and highmem page frames allocated for hibernation image 1422 * Numbers of normal and highmem page frames allocated for hibernation image
1423 * before suspending devices. 1423 * before suspending devices.
1424 */ 1424 */
1425unsigned int alloc_normal, alloc_highmem; 1425static unsigned int alloc_normal, alloc_highmem;
1426/* 1426/*
1427 * Memory bitmap used for marking saveable pages (during hibernation) or 1427 * Memory bitmap used for marking saveable pages (during hibernation) or
1428 * hibernation image pages (during restore) 1428 * hibernation image pages (during restore)