diff options
Diffstat (limited to 'kernel/power/swsusp.c')
-rw-r--r-- | kernel/power/swsusp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/power/swsusp.c b/kernel/power/swsusp.c index 8aef1b49150f..0dfb24948907 100644 --- a/kernel/power/swsusp.c +++ b/kernel/power/swsusp.c | |||
@@ -1437,9 +1437,9 @@ static int read_pagedir(struct pbe *pblist) | |||
1437 | } | 1437 | } |
1438 | 1438 | ||
1439 | if (error) | 1439 | if (error) |
1440 | free_page((unsigned long)pblist); | 1440 | free_pagedir(pblist); |
1441 | 1441 | else | |
1442 | BUG_ON(i != swsusp_info.pagedir_pages); | 1442 | BUG_ON(i != swsusp_info.pagedir_pages); |
1443 | 1443 | ||
1444 | return error; | 1444 | return error; |
1445 | } | 1445 | } |