[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20140521215107.6da8f298175218aa79152f63@skynet.be>
Date: Wed, 21 May 2014 21:51:07 +0200
From: Fabian Frederick <fabf@...net.be>
To: linux-kernel <linux-kernel@...r.kernel.org>
Cc: "Rafael J. Wysocki" <rjw@...ysocki.net>,
akpm <akpm@...ux-foundation.org>
Subject: [PATCH 1/1] kernel/power/snapshot.c: local symbols made static
alloc_normal and alloc_highmem are only used in kernel/power/snapshot.c
Cc: "Rafael J. Wysocki" <rjw@...ysocki.net>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: Fabian Frederick <fabf@...net.be>
---
kernel/power/snapshot.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
index 1ea328a..0aa960d 100644
--- a/kernel/power/snapshot.c
+++ b/kernel/power/snapshot.c
@@ -1069,7 +1069,8 @@ static unsigned int nr_meta_pages;
* Numbers of normal and highmem page frames allocated for hibernation image
* before suspending devices.
*/
-unsigned int alloc_normal, alloc_highmem;
+static unsigned int alloc_normal;
+static unsigned int alloc_highmem;
/*
* Memory bitmap used for marking saveable pages (during hibernation) or
* hibernation image pages (during restore)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists