]> Git Repo - linux.git/commit
x86: use optimized ioresource lookup in ioremap function
authorMike Travis <[email protected]>
Mon, 13 Oct 2014 22:54:05 +0000 (15:54 -0700)
committerLinus Torvalds <[email protected]>
Tue, 14 Oct 2014 00:18:22 +0000 (02:18 +0200)
commit906e36c5c717cc99e622350f533876feed9bffe0
tree054826656a5ea90f62373eca18e0b504edc0b59c
parent67cf13ceed89e2c1a967719e98624a20c48dfb5a
x86: use optimized ioresource lookup in ioremap function

Use the optimized ioresource lookup, "region_is_ram", for the ioremap
function.  If the region is not found, it falls back to the
"page_is_ram" function.  If it is found and it is RAM, then the usual
warning message is issued, and the ioremap operation is aborted.
Otherwise, the ioremap operation continues.

Signed-off-by: Mike Travis <[email protected]>
Acked-by: Alex Thorlton <[email protected]>
Reviewed-by: Cliff Wickman <[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]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/x86/mm/ioremap.c
This page took 0.054752 seconds and 4 git commands to generate.