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
e2dfb912
Commit
e2dfb912
authored
Dec 12, 2006
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Fix .empty_zero_page alignment for PAGE_SIZE > 4096.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
f668f55c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
arch/sh/boot/compressed/head.S
arch/sh/boot/compressed/head.S
+2
-1
arch/sh/boot/compressed/misc.c
arch/sh/boot/compressed/misc.c
+2
-1
arch/sh/kernel/head.S
arch/sh/kernel/head.S
+2
-1
No files found.
arch/sh/boot/compressed/head.S
View file @
e2dfb912
...
...
@@ -8,6 +8,7 @@
.
text
#include <linux/linkage.h>
#include <asm/page.h>
.
global
startup
startup
:
...
...
@@ -97,7 +98,7 @@ init_stack_addr:
decompress_kernel_addr
:
.
long
decompress_kernel
kernel_start_addr
:
.
long
_text
+
0x1000
.
long
_text
+
PAGE_SIZE
.
align
9
fake_headers_as_bzImage
:
...
...
arch/sh/boot/compressed/misc.c
View file @
e2dfb912
...
...
@@ -13,6 +13,7 @@
#include <asm/uaccess.h>
#include <asm/addrspace.h>
#include <asm/page.h>
#ifdef CONFIG_SH_STANDARD_BIOS
#include <asm/sh_bios.h>
#endif
...
...
@@ -229,7 +230,7 @@ long* stack_start = &user_stack[STACK_SIZE];
void
decompress_kernel
(
void
)
{
output_data
=
0
;
output_ptr
=
P2SEGADDR
((
unsigned
long
)
&
_text
+
0x1000
);
output_ptr
=
P2SEGADDR
((
unsigned
long
)
&
_text
+
PAGE_SIZE
);
free_mem_ptr
=
(
unsigned
long
)
&
_end
;
free_mem_end_ptr
=
free_mem_ptr
+
HEAP_SIZE
;
...
...
arch/sh/kernel/head.S
View file @
e2dfb912
...
...
@@ -33,7 +33,8 @@ ENTRY(empty_zero_page)
.
long
0x00360000
/*
INITRD_START
*/
.
long
0x000a0000
/*
INITRD_SIZE
*/
.
long
0
.
balign
PAGE_SIZE
,
0
,
PAGE_SIZE
1
:
.
skip
PAGE_SIZE
-
empty_zero_page
-
1
b
.
text
/*
...
...
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