Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
3023533d
Commit
3023533d
authored
Feb 12, 2009
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: fix warning in find_low_pfn_range()
Signed-off-by:
Ingo Molnar
<
mingo@elte.hu
>
parent
89e4b593
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/x86/mm/init_32.c
arch/x86/mm/init_32.c
+2
-2
No files found.
arch/x86/mm/init_32.c
View file @
3023533d
...
...
@@ -722,7 +722,7 @@ void __init find_low_pfn_range(void)
highmem_pages
=
0
;
#ifdef CONFIG_HIGHMEM
if
(
highmem_pages
>=
max_pfn
)
{
printk
(
KERN_ERR
"highmem size specified (%uMB) is "
printk
(
KERN_ERR
"highmem size specified (%
l
uMB) is "
"bigger than pages available (%luMB)!.
\n
"
,
pages_to_mb
(
highmem_pages
),
pages_to_mb
(
max_pfn
));
...
...
@@ -731,7 +731,7 @@ void __init find_low_pfn_range(void)
if
(
highmem_pages
)
{
if
(
max_low_pfn
-
highmem_pages
<
64
*
1024
*
1024
/
PAGE_SIZE
){
printk
(
KERN_ERR
"highmem size %uMB results in "
printk
(
KERN_ERR
"highmem size %
l
uMB results in "
"smaller than 64MB lowmem, ignoring it.
\n
"
,
pages_to_mb
(
highmem_pages
));
highmem_pages
=
0
;
...
...
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