History

PM / hibernate: fix typo "reserverd_size" -> "reserved_size"

Fix a mistake in a variable name in a comment.

Alexandre Belloni committed 6 years ago

Commit b0c609a1 parent 14ba91c1 file · +1 −1Browse files

Unified · Split

kernel/power/snapshot.c+1−1
@@ -1681,7 +1681,7 @@ static unsigned long minimum_image_size(unsigned long saveable) · 1680 unmodified lines
1681 * hibernation for allocations made while saving the image and for device1681 * hibernation for allocations made while saving the image and for device
1682 * drivers, in case they need to allocate memory from their hibernation1682 * drivers, in case they need to allocate memory from their hibernation
1683 * callbacks (these two numbers are given by PAGES_FOR_IO (which is a rough1683 * callbacks (these two numbers are given by PAGES_FOR_IO (which is a rough
1684 * estimate) and reserverd_size divided by PAGE_SIZE (which is tunable through1684 * estimate) and reserved_size divided by PAGE_SIZE (which is tunable through
1685 * /sys/power/reserved_size, respectively). To make this happen, we compute the1685 * /sys/power/reserved_size, respectively). To make this happen, we compute the
1686 * total number of available page frames and allocate at least1686 * total number of available page frames and allocate at least
1687 *1687 *