Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
d72e92c6
Commit
d72e92c6
authored
May 30, 2004
by
Andi Kleen
Committed by
Linus Torvalds
May 30, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Fix compilation on x86-64
I managed to break compilation with my last patch with a last minute edit.
parent
5979a91f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
arch/x86_64/mm/pageattr.c
arch/x86_64/mm/pageattr.c
+0
-1
No files found.
arch/x86_64/mm/pageattr.c
View file @
d72e92c6
...
@@ -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
);
}
}
...
...
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