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
Kirill Smelkov
linux
Commits
54567d5d
Commit
54567d5d
authored
Jun 24, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Fix acornfb build error.
parent
9a399b0b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
drivers/video/acornfb.c
drivers/video/acornfb.c
+3
-1
No files found.
drivers/video/acornfb.c
View file @
54567d5d
...
@@ -1246,6 +1246,8 @@ acornfb_detect_monitortype(void)
...
@@ -1246,6 +1246,8 @@ acornfb_detect_monitortype(void)
/*
/*
* This enables the unused memory to be freed on older Acorn machines.
* This enables the unused memory to be freed on older Acorn machines.
* We are freeing memory on behalf of the architecture initialisation
* code here.
*/
*/
static
inline
void
static
inline
void
free_unused_pages
(
unsigned
int
virtual_start
,
unsigned
int
virtual_end
)
free_unused_pages
(
unsigned
int
virtual_start
,
unsigned
int
virtual_end
)
...
@@ -1268,7 +1270,7 @@ free_unused_pages(unsigned int virtual_start, unsigned int virtual_end)
...
@@ -1268,7 +1270,7 @@ free_unused_pages(unsigned int virtual_start, unsigned int virtual_end)
*/
*/
page
=
virt_to_page
(
virtual_start
);
page
=
virt_to_page
(
virtual_start
);
ClearPageReserved
(
page
);
ClearPageReserved
(
page
);
atomic_set
(
&
page
->
count
,
1
);
set_page_count
(
page
,
1
);
free_page
(
virtual_start
);
free_page
(
virtual_start
);
virtual_start
+=
PAGE_SIZE
;
virtual_start
+=
PAGE_SIZE
;
...
...
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