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
c051489d
Commit
c051489d
authored
Feb 29, 2008
by
Bryan Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Blackfin] arch: kill section mismatch warnings
Signed-off-by:
Bryan Wu
<
cooloney@kernel.org
>
parent
8b07a2a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
arch/blackfin/mach-bf548/head.S
arch/blackfin/mach-bf548/head.S
+7
-2
arch/blackfin/mm/init.c
arch/blackfin/mm/init.c
+2
-2
No files found.
arch/blackfin/mach-bf548/head.S
View file @
c051489d
...
...
@@ -28,6 +28,7 @@
*/
#include <linux/linkage.h>
#include <linux/init.h>
#include <asm/blackfin.h>
#include <asm/trace.h>
#if CONFIG_BFIN_KERNEL_CLOCK
...
...
@@ -44,10 +45,9 @@
#define INITIAL_STACK 0xFFB01000
.
text
__INIT
ENTRY
(
__start
)
ENTRY
(
__stext
)
/
*
R0
:
argument
of
command
line
string
,
passed
from
uboot
,
save
it
*/
R7
=
R0
;
/
*
Enable
Cycle
Counter
and
Nesting
Of
Interrupts
*/
...
...
@@ -213,6 +213,7 @@ ENTRY(__stext)
.
LWAIT_HERE
:
jump
.
LWAIT_HERE
;
ENDPROC
(
__start
)
ENTRY
(
_real_start
)
[
--
sp
]
=
reti
;
...
...
@@ -285,6 +286,9 @@ ENTRY(_real_start)
call
_start_kernel
;
.
L_exit
:
jump.s
.
L_exit
;
ENDPROC
(
_real_start
)
__FINIT
.
section
.
l1.text
#if CONFIG_BFIN_KERNEL_CLOCK
...
...
@@ -450,6 +454,7 @@ ENTRY(_start_dma_code)
SSYNC
;
RTS
;
ENDPROC
(
_start_dma_code
)
#endif /* CONFIG_BFIN_KERNEL_CLOCK */
.
data
...
...
arch/blackfin/mm/init.c
View file @
c051489d
...
...
@@ -181,7 +181,7 @@ void __init mem_init(void)
}
}
static
__init
void
free_init_pages
(
const
char
*
what
,
unsigned
long
begin
,
unsigned
long
end
)
static
void
__init
free_init_pages
(
const
char
*
what
,
unsigned
long
begin
,
unsigned
long
end
)
{
unsigned
long
addr
;
/* next to check that the page we free is not a partial page */
...
...
@@ -203,7 +203,7 @@ void __init free_initrd_mem(unsigned long start, unsigned long end)
}
#endif
void
__init
free_initmem
(
void
)
void
__init
_refok
free_initmem
(
void
)
{
#if defined CONFIG_RAMKERNEL && !defined CONFIG_MPU
free_init_pages
(
"unused kernel memory"
,
...
...
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