From: Hugh Dickins Sorry, some parentheses around my SWP_WRITEOK check would help. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton --- kernel/power/swsusp.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/power/swsusp.c~swap-update-swsusp-use-of-swap_info-fix kernel/power/swsusp.c --- devel/kernel/power/swsusp.c~swap-update-swsusp-use-of-swap_info-fix 2005-07-12 14:21:40.000000000 -0700 +++ devel-akpm/kernel/power/swsusp.c 2005-07-12 14:21:40.000000000 -0700 @@ -181,7 +181,7 @@ static int swsusp_swap_check(void) /* Th spin_lock(&swap_lock); for (i=0; i