Commit d72e92c6 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] Fix compilation on x86-64

I managed to break compilation with my last patch with a last minute edit.
parent 5979a91f
...@@ -179,7 +179,6 @@ int change_page_attr(struct page *page, int numpages, pgprot_t prot) ...@@ -179,7 +179,6 @@ int change_page_attr(struct page *page, int numpages, pgprot_t prot)
if (0 && page_to_phys(page) < KERNEL_TEXT_SIZE) { if (0 && page_to_phys(page) < KERNEL_TEXT_SIZE) {
unsigned long addr2; unsigned long addr2;
addr2 = __START_KERNEL_map + page_to_phys(page); addr2 = __START_KERNEL_map + page_to_phys(page);
__pgprot(prot) &= ~_PAGE_NX;
err = __change_page_attr(addr2, page, prot, err = __change_page_attr(addr2, page, prot,
PAGE_KERNEL_EXECUTABLE); PAGE_KERNEL_EXECUTABLE);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment