Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
ipipe
Commits
70c9f590
Commit
70c9f590
authored
Apr 25, 2008
by
Ingo Molnar
Browse files
x86: remove set_fixmap() warning
set_fixmap()+clear_fixmap() is safe. Signed-off-by:
Ingo Molnar
<
mingo@elte.hu
>
parent
82a355f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
arch/x86/mm/init_64.c
View file @
70c9f590
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment