Commit 90133673 authored by Cesar Eduardo Barros's avatar Cesar Eduardo Barros Committed by Rafael J. Wysocki

PM / Hibernate: Fix typos in comments in kernel/power/swap.c

There are a few typos in kernel/power/swap.c.  Fix them.
Signed-off-by: default avatarCesar Eduardo Barros <cesarb@cesarb.net>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent a9f7f2e7
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
/* /*
* The swap map is a data structure used for keeping track of each page * The swap map is a data structure used for keeping track of each page
* written to a swap partition. It consists of many swap_map_page * written to a swap partition. It consists of many swap_map_page
* structures that contain each an array of MAP_PAGE_SIZE swap entries. * structures that contain each an array of MAP_PAGE_ENTRIES swap entries.
* These structures are stored on the swap and linked together with the * These structures are stored on the swap and linked together with the
* help of the .next_swap member. * help of the .next_swap member.
* *
...@@ -148,7 +148,7 @@ sector_t alloc_swapdev_block(int swap) ...@@ -148,7 +148,7 @@ sector_t alloc_swapdev_block(int swap)
/** /**
* free_all_swap_pages - free swap pages allocated for saving image data. * free_all_swap_pages - free swap pages allocated for saving image data.
* It also frees the extents used to register which swap entres had been * It also frees the extents used to register which swap entries had been
* allocated. * allocated.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment