Messages in this thread Patch in this message | | | Date | Wed, 21 May 2014 21:51:07 +0200 | From | Fabian Frederick <> | 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@rjwysocki.net> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Fabian Frederick <fabf@skynet.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
| |