diff options
author | Li, Zhen-Hua <[email protected]> | 2013-03-18 10:45:43 +0800 |
---|---|---|
committer | Tony Luck <[email protected]> | 2013-03-19 16:14:52 -0700 |
commit | a4279e6202bbd08ac6038234571ac639c98879cf (patch) | |
tree | cd3e2a755a22304e695494115484a15fdb038d05 /net/lapb/lapb_in.c | |
parent | deb60015096102f9842b631dcad98a05001268e9 (diff) |
Add WB/UC check for early_ioremap
On ia64 system, the function early_ioremap returned an uncached memory
reference without checking whether this was consistent with existing
mappings. This causes efi error and the kernel failed during boot. Add a
check to test whether memory has EFI_MEMORY_WB set. Use the function
kern_mem_attribute() in early_iomap() function to provide appropriate
cacheable or uncacheable mapped address.
See the document Documentation/ia64/aliasing.txt for more details.
Signed-off-by: Li, Zhen-Hua <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions