Skip to content

Commit

Permalink
PM / Hibernate: Fix typos in comments in kernel/power/swap.c
Browse files Browse the repository at this point in the history
There are a few typos in kernel/power/swap.c.  Fix them.

Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
  • Loading branch information
Cesar Eduardo Barros authored and Rafael J. Wysocki committed Jul 18, 2010
1 parent a9f7f2e commit 9013367
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/power/swap.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/*
* 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
* 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
* help of the .next_swap member.
*
Expand Down Expand Up @@ -148,7 +148,7 @@ sector_t alloc_swapdev_block(int swap)

/**
* 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.
*/

Expand Down

0 comments on commit 9013367

Please sign in to comment.