Skip to content
Snippets Groups Projects
Commit 88075417 authored by Nadav Har'El's avatar Nadav Har'El
Browse files

Correct old typo

parent 51d0ebd5
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,7 @@ pt_element make_pte(phys addr, unsigned perm) ...@@ -105,7 +105,7 @@ pt_element make_pte(phys addr, unsigned perm)
if (perm & perm_write) { if (perm & perm_write) {
pte |= 0x2; pte |= 0x2;
} }
if (!(perm * perm_exec)) { if (!(perm & perm_exec)) {
pte |= pt_element(0x8000000000000000); pte |= pt_element(0x8000000000000000);
} }
return pte; return pte;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment