Skip to content

Commit

Permalink
x86-optimize-resource-lookups-for-ioremap-fix
Browse files Browse the repository at this point in the history
fix spellos and typos in comment

Cc: Alex Thorlton <[email protected]>
Cc: Cliff Wickman <[email protected]>
Cc: Mike Travis <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Mark Salter <[email protected]>
Cc: Dave Young <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
akpm00 authored and sfrothwell committed Oct 2, 2014
1 parent bda5b19 commit 6cd2f15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,8 @@ EXPORT_SYMBOL_GPL(page_is_ram);
* If found, return 1 if it is RAM, 0 if not.
* If not found, or region is not fully contained, return -1
*
* Used by the ioremap functions to insure user not remapping RAM and is as
* vast speed up over walking through the resource table page by page.
* Used by the ioremap functions to ensure the user is not remapping RAM and is
* a vast speed up over walking through the resource table page by page.
*/
int region_is_ram(resource_size_t start, unsigned long size)
{
Expand Down

0 comments on commit 6cd2f15

Please sign in to comment.