Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44329
b: refs/heads/master
c: e2dfb91
h: refs/heads/master
i:
  44327: a11cf61
v: v3
  • Loading branch information
Paul Mundt committed Dec 11, 2006
1 parent 88c7326 commit e79144c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f668f55c3941faacc6f298f434b1af3d5142eed7
refs/heads/master: e2dfb912d3cea97d8b1d6750abbe9c942b6f73f5
3 changes: 2 additions & 1 deletion trunk/arch/sh/boot/compressed/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
.text

#include <linux/linkage.h>
#include <asm/page.h>

.global startup
startup:
Expand Down Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/sh/boot/compressed/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;

Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/sh/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 - 1b

.text
/*
Expand Down

0 comments on commit e79144c

Please sign in to comment.