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
898cf0ec
Commit
898cf0ec
authored
Sep 23, 2005
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Mark functions called by paging_init() as __init.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
1c9ea5db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
arch/sparc64/mm/init.c
arch/sparc64/mm/init.c
+6
-6
No files found.
arch/sparc64/mm/init.c
View file @
898cf0ec
...
@@ -410,7 +410,7 @@ unsigned long prom_virt_to_phys(unsigned long promva, int *error)
...
@@ -410,7 +410,7 @@ unsigned long prom_virt_to_phys(unsigned long promva, int *error)
* HI_OBP_ADDRESS range are handled in entry.S and do not use the vpte
* HI_OBP_ADDRESS range are handled in entry.S and do not use the vpte
* scheme (also, see rant in inherit_locked_prom_mappings()).
* scheme (also, see rant in inherit_locked_prom_mappings()).
*/
*/
static
void
build_obp_range
(
unsigned
long
start
,
unsigned
long
end
,
unsigned
long
data
)
static
void
__init
build_obp_range
(
unsigned
long
start
,
unsigned
long
end
,
unsigned
long
data
)
{
{
unsigned
long
vaddr
;
unsigned
long
vaddr
;
...
@@ -454,7 +454,7 @@ static inline int in_obp_range(unsigned long vaddr)
...
@@ -454,7 +454,7 @@ static inline int in_obp_range(unsigned long vaddr)
}
}
#define OBP_PMD_SIZE 2048
#define OBP_PMD_SIZE 2048
static
void
build_obp_pgtable
(
int
prom_trans_ents
)
static
void
__init
build_obp_pgtable
(
int
prom_trans_ents
)
{
{
unsigned
long
i
;
unsigned
long
i
;
...
@@ -480,7 +480,7 @@ static void build_obp_pgtable(int prom_trans_ents)
...
@@ -480,7 +480,7 @@ static void build_obp_pgtable(int prom_trans_ents)
/* Read OBP translations property into 'prom_trans[]'.
/* Read OBP translations property into 'prom_trans[]'.
* Return the number of entries.
* Return the number of entries.
*/
*/
static
int
read_obp_translations
(
void
)
static
int
__init
read_obp_translations
(
void
)
{
{
int
n
,
node
;
int
n
,
node
;
...
@@ -505,7 +505,7 @@ static int read_obp_translations(void)
...
@@ -505,7 +505,7 @@ static int read_obp_translations(void)
return
n
;
return
n
;
}
}
static
void
remap_kernel
(
void
)
static
void
__init
remap_kernel
(
void
)
{
{
unsigned
long
phys_page
,
tte_vaddr
,
tte_data
;
unsigned
long
phys_page
,
tte_vaddr
,
tte_data
;
int
tlb_ent
=
sparc64_highest_locked_tlbent
();
int
tlb_ent
=
sparc64_highest_locked_tlbent
();
...
@@ -531,7 +531,7 @@ static void remap_kernel(void)
...
@@ -531,7 +531,7 @@ static void remap_kernel(void)
}
}
}
}
static
void
inherit_prom_mappings
(
void
)
static
void
__init
inherit_prom_mappings
(
void
)
{
{
int
n
;
int
n
;
...
@@ -1604,7 +1604,7 @@ void __init mem_init(void)
...
@@ -1604,7 +1604,7 @@ void __init mem_init(void)
cheetah_ecache_flush_init
();
cheetah_ecache_flush_init
();
}
}
void
free_initmem
(
void
)
void
free_initmem
(
void
)
{
{
unsigned
long
addr
,
initend
;
unsigned
long
addr
,
initend
;
...
...
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