From 794b0d5eb0b205084fc4a45d7ea55a0f7b37647e Mon Sep 17 00:00:00 2001 From: Hugh Dickins Date: Sat, 3 Sep 2005 15:54:42 -0700 Subject: [PATCH] --- yaml --- r: 6856 b: refs/heads/master c: dae06ac43d56d23e50a2300d511b32a9e38cd657 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/kernel/power/swsusp.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 98c4e46a437a..147ae51413a3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5d337b9194b1ce3b6fd5f3cb2799455ed2f9a3d1 +refs/heads/master: dae06ac43d56d23e50a2300d511b32a9e38cd657 diff --git a/trunk/kernel/power/swsusp.c b/trunk/kernel/power/swsusp.c index f2bc71b9fe8b..975b1648a806 100644 --- a/trunk/kernel/power/swsusp.c +++ b/trunk/kernel/power/swsusp.c @@ -179,9 +179,9 @@ static int swsusp_swap_check(void) /* This is called before saving image */ len=strlen(resume_file); root_swap = 0xFFFF; - swap_list_lock(); + spin_lock(&swap_lock); for (i=0; i