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
d012ce22
Commit
d012ce22
authored
15 years ago
by
Mike Frysinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Blackfin: cleanup style/comments/etc... in paging_init()
Signed-off-by:
Mike Frysinger
<
vapier@gentoo.org
>
parent
f074e48e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
18 deletions
+13
-18
arch/blackfin/mm/init.c
arch/blackfin/mm/init.c
+13
-18
No files found.
arch/blackfin/mm/init.c
View file @
d012ce22
...
...
@@ -40,31 +40,26 @@ EXPORT_SYMBOL(cpu_pda);
void
__init
paging_init
(
void
)
{
/*
* make sure start_mem is page aligned,
otherwise bootmem and
* page_alloc get different views o
g
the world
* make sure start_mem is page aligned, otherwise bootmem and
* page_alloc get different views o
f
the world
*/
unsigned
long
end_mem
=
memory_end
&
PAGE_MASK
;
pr_debug
(
"start_mem is %#lx virtual_end is %#lx
\n
"
,
PAGE_ALIGN
(
memory_start
),
end_mem
);
unsigned
long
zones_size
[
MAX_NR_ZONES
]
=
{
[
0
]
=
0
,
[
ZONE_DMA
]
=
(
end_mem
-
PAGE_OFFSET
)
>>
PAGE_SHIFT
,
[
ZONE_NORMAL
]
=
0
,
#ifdef CONFIG_HIGHMEM
[
ZONE_HIGHMEM
]
=
0
,
#endif
};
/*
* Set up SFC/DFC registers (user data space)
*/
/* Set up SFC/DFC registers (user data space) */
set_fs
(
KERNEL_DS
);
pr_debug
(
"free_area_init -> start_mem is %#lx
virtual_end is %#lx
\n
"
,
pr_debug
(
"free_area_init -> start_mem is %#lx virtual_end is %#lx
\n
"
,
PAGE_ALIGN
(
memory_start
),
end_mem
);
{
unsigned
long
zones_size
[
MAX_NR_ZONES
]
=
{
0
,
};
zones_size
[
ZONE_DMA
]
=
(
end_mem
-
PAGE_OFFSET
)
>>
PAGE_SHIFT
;
zones_size
[
ZONE_NORMAL
]
=
0
;
#ifdef CONFIG_HIGHMEM
zones_size
[
ZONE_HIGHMEM
]
=
0
;
#endif
free_area_init
(
zones_size
);
}
free_area_init
(
zones_size
);
}
asmlinkage
void
__init
init_pda
(
void
)
...
...
This diff is collapsed.
Click to expand it.
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