projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82a355f
)
x86: remove set_fixmap() warning
author
Ingo Molnar
<mingo@elte.hu>
Fri, 25 Apr 2008 16:05:57 +0000
(18:05 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 25 Apr 2008 17:54:07 +0000
(19:54 +0200)
set_fixmap()+clear_fixmap() is safe.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/mm/init_64.c
b/arch/x86/mm/init_64.c
index 7a81dd020693b11f26c826c541da260108dd2c3c..b798e7b92b1709819a5985f51d40782363da6c51 100644
(file)
--- a/
arch/x86/mm/init_64.c
+++ b/
arch/x86/mm/init_64.c
@@
-173,7
+173,7
@@
set_pte_phys(unsigned long vaddr, unsigned long phys, pgprot_t prot)
new_pte = pfn_pte(phys >> PAGE_SHIFT, prot);
pte = pte_offset_kernel(pmd, vaddr);
- if (!pte_none(*pte) &&
+ if (!pte_none(*pte) &&
pte_val(new_pte) &&
pte_val(*pte) != (pte_val(new_pte) & __supported_pte_mask))
pte_ERROR(*pte);
set_pte(pte, new_pte);