mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 17:41:50 +00:00
[POWERPC] Remove cmd_line from head*.S
It is just a C char array, so declare it thusly. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
7b2c3c5b1d
commit
19a8d97d89
7 changed files with 2 additions and 47 deletions
|
@ -1297,14 +1297,6 @@ empty_zero_page:
|
||||||
swapper_pg_dir:
|
swapper_pg_dir:
|
||||||
.space 4096
|
.space 4096
|
||||||
|
|
||||||
/*
|
|
||||||
* This space gets a copy of optional info passed to us by the bootstrap
|
|
||||||
* Used to pass parameters into the kernel like root=/dev/sda1, etc.
|
|
||||||
*/
|
|
||||||
.globl cmd_line
|
|
||||||
cmd_line:
|
|
||||||
.space 512
|
|
||||||
|
|
||||||
.globl intercept_table
|
.globl intercept_table
|
||||||
intercept_table:
|
intercept_table:
|
||||||
.long 0, 0, i0x200, i0x300, i0x400, 0, i0x600, i0x700
|
.long 0, 0, i0x200, i0x300, i0x400, 0, i0x600, i0x700
|
||||||
|
|
|
@ -1006,13 +1006,6 @@ critical_stack_top:
|
||||||
.globl exception_stack_top
|
.globl exception_stack_top
|
||||||
exception_stack_top:
|
exception_stack_top:
|
||||||
|
|
||||||
/* This space gets a copy of optional info passed to us by the bootstrap
|
|
||||||
* which is used to pass parameters into the kernel like root=/dev/sda1, etc.
|
|
||||||
*/
|
|
||||||
.globl cmd_line
|
|
||||||
cmd_line:
|
|
||||||
.space 512
|
|
||||||
|
|
||||||
/* Room for two PTE pointers, usually the kernel and current user pointers
|
/* Room for two PTE pointers, usually the kernel and current user pointers
|
||||||
* to their respective root page table.
|
* to their respective root page table.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -743,14 +743,6 @@ exception_stack_bottom:
|
||||||
.globl exception_stack_top
|
.globl exception_stack_top
|
||||||
exception_stack_top:
|
exception_stack_top:
|
||||||
|
|
||||||
/*
|
|
||||||
* This space gets a copy of optional info passed to us by the bootstrap
|
|
||||||
* which is used to pass parameters into the kernel like root=/dev/sda1, etc.
|
|
||||||
*/
|
|
||||||
.globl cmd_line
|
|
||||||
cmd_line:
|
|
||||||
.space 512
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Room for two PTE pointers, usually the kernel and current user pointers
|
* Room for two PTE pointers, usually the kernel and current user pointers
|
||||||
* to their respective root page table.
|
* to their respective root page table.
|
||||||
|
|
|
@ -1540,11 +1540,3 @@ empty_zero_page:
|
||||||
.globl swapper_pg_dir
|
.globl swapper_pg_dir
|
||||||
swapper_pg_dir:
|
swapper_pg_dir:
|
||||||
.space PAGE_SIZE
|
.space PAGE_SIZE
|
||||||
|
|
||||||
/*
|
|
||||||
* This space gets a copy of optional info passed to us by the bootstrap
|
|
||||||
* Used to pass parameters into the kernel like root=/dev/sda1, etc.
|
|
||||||
*/
|
|
||||||
.globl cmd_line
|
|
||||||
cmd_line:
|
|
||||||
.space COMMAND_LINE_SIZE
|
|
||||||
|
|
|
@ -832,14 +832,6 @@ empty_zero_page:
|
||||||
swapper_pg_dir:
|
swapper_pg_dir:
|
||||||
.space 4096
|
.space 4096
|
||||||
|
|
||||||
/*
|
|
||||||
* This space gets a copy of optional info passed to us by the bootstrap
|
|
||||||
* Used to pass parameters into the kernel like root=/dev/sda1, etc.
|
|
||||||
*/
|
|
||||||
.globl cmd_line
|
|
||||||
cmd_line:
|
|
||||||
.space 512
|
|
||||||
|
|
||||||
/* Room for two PTE table poiners, usually the kernel and current user
|
/* Room for two PTE table poiners, usually the kernel and current user
|
||||||
* pointer to their respective root page table (pgdir).
|
* pointer to their respective root page table (pgdir).
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1049,14 +1049,6 @@ exception_stack_bottom:
|
||||||
.globl exception_stack_top
|
.globl exception_stack_top
|
||||||
exception_stack_top:
|
exception_stack_top:
|
||||||
|
|
||||||
/*
|
|
||||||
* This space gets a copy of optional info passed to us by the bootstrap
|
|
||||||
* which is used to pass parameters into the kernel like root=/dev/sda1, etc.
|
|
||||||
*/
|
|
||||||
.globl cmd_line
|
|
||||||
cmd_line:
|
|
||||||
.space 512
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Room for two PTE pointers, usually the kernel and current user pointers
|
* Room for two PTE pointers, usually the kernel and current user pointers
|
||||||
* to their respective root page table.
|
* to their respective root page table.
|
||||||
|
|
|
@ -76,6 +76,8 @@ EXPORT_SYMBOL(machine_id);
|
||||||
|
|
||||||
unsigned long klimit = (unsigned long) _end;
|
unsigned long klimit = (unsigned long) _end;
|
||||||
|
|
||||||
|
char cmd_line[COMMAND_LINE_SIZE];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This still seems to be needed... -- paulus
|
* This still seems to be needed... -- paulus
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue