diff options
-rw-r--r-- | arch/powerpc/kernel/head_32.S | 8 | ||||
-rw-r--r-- | arch/powerpc/kernel/head_40x.S | 7 | ||||
-rw-r--r-- | arch/powerpc/kernel/head_44x.S | 8 | ||||
-rw-r--r-- | arch/powerpc/kernel/head_64.S | 8 | ||||
-rw-r--r-- | arch/powerpc/kernel/head_8xx.S | 8 | ||||
-rw-r--r-- | arch/powerpc/kernel/head_fsl_booke.S | 8 | ||||
-rw-r--r-- | arch/powerpc/kernel/setup-common.c | 2 |
7 files changed, 2 insertions, 47 deletions
diff --git a/arch/powerpc/kernel/head_32.S b/arch/powerpc/kernel/head_32.S index 12febfe43de6..c86c626cf156 100644 --- a/arch/powerpc/kernel/head_32.S +++ b/arch/powerpc/kernel/head_32.S | |||
@@ -1297,14 +1297,6 @@ empty_zero_page: | |||
1297 | swapper_pg_dir: | 1297 | swapper_pg_dir: |
1298 | .space 4096 | 1298 | .space 4096 |
1299 | 1299 | ||
1300 | /* | ||
1301 | * This space gets a copy of optional info passed to us by the bootstrap | ||
1302 | * Used to pass parameters into the kernel like root=/dev/sda1, etc. | ||
1303 | */ | ||
1304 | .globl cmd_line | ||
1305 | cmd_line: | ||
1306 | .space 512 | ||
1307 | |||
1308 | .globl intercept_table | 1300 | .globl intercept_table |
1309 | intercept_table: | 1301 | intercept_table: |
1310 | .long 0, 0, i0x200, i0x300, i0x400, 0, i0x600, i0x700 | 1302 | .long 0, 0, i0x200, i0x300, i0x400, 0, i0x600, i0x700 |
diff --git a/arch/powerpc/kernel/head_40x.S b/arch/powerpc/kernel/head_40x.S index 00bdb6d1c724..e312824bdd98 100644 --- a/arch/powerpc/kernel/head_40x.S +++ b/arch/powerpc/kernel/head_40x.S | |||
@@ -1006,13 +1006,6 @@ critical_stack_top: | |||
1006 | .globl exception_stack_top | 1006 | .globl exception_stack_top |
1007 | exception_stack_top: | 1007 | exception_stack_top: |
1008 | 1008 | ||
1009 | /* This space gets a copy of optional info passed to us by the bootstrap | ||
1010 | * which is used to pass parameters into the kernel like root=/dev/sda1, etc. | ||
1011 | */ | ||
1012 | .globl cmd_line | ||
1013 | cmd_line: | ||
1014 | .space 512 | ||
1015 | |||
1016 | /* Room for two PTE pointers, usually the kernel and current user pointers | 1009 | /* Room for two PTE pointers, usually the kernel and current user pointers |
1017 | * to their respective root page table. | 1010 | * to their respective root page table. |
1018 | */ | 1011 | */ |
diff --git a/arch/powerpc/kernel/head_44x.S b/arch/powerpc/kernel/head_44x.S index a3dc0e4d0456..c6a510bdefd4 100644 --- a/arch/powerpc/kernel/head_44x.S +++ b/arch/powerpc/kernel/head_44x.S | |||
@@ -744,14 +744,6 @@ exception_stack_bottom: | |||
744 | exception_stack_top: | 744 | exception_stack_top: |
745 | 745 | ||
746 | /* | 746 | /* |
747 | * This space gets a copy of optional info passed to us by the bootstrap | ||
748 | * which is used to pass parameters into the kernel like root=/dev/sda1, etc. | ||
749 | */ | ||
750 | .globl cmd_line | ||
751 | cmd_line: | ||
752 | .space 512 | ||
753 | |||
754 | /* | ||
755 | * Room for two PTE pointers, usually the kernel and current user pointers | 747 | * Room for two PTE pointers, usually the kernel and current user pointers |
756 | * to their respective root page table. | 748 | * to their respective root page table. |
757 | */ | 749 | */ |
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S index cec59089e48c..f4ae82e9c92d 100644 --- a/arch/powerpc/kernel/head_64.S +++ b/arch/powerpc/kernel/head_64.S | |||
@@ -1540,11 +1540,3 @@ empty_zero_page: | |||
1540 | .globl swapper_pg_dir | 1540 | .globl swapper_pg_dir |
1541 | swapper_pg_dir: | 1541 | swapper_pg_dir: |
1542 | .space PAGE_SIZE | 1542 | .space PAGE_SIZE |
1543 | |||
1544 | /* | ||
1545 | * This space gets a copy of optional info passed to us by the bootstrap | ||
1546 | * Used to pass parameters into the kernel like root=/dev/sda1, etc. | ||
1547 | */ | ||
1548 | .globl cmd_line | ||
1549 | cmd_line: | ||
1550 | .space COMMAND_LINE_SIZE | ||
diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S index a6ecdd643167..96cea8e753c4 100644 --- a/arch/powerpc/kernel/head_8xx.S +++ b/arch/powerpc/kernel/head_8xx.S | |||
@@ -832,14 +832,6 @@ empty_zero_page: | |||
832 | swapper_pg_dir: | 832 | swapper_pg_dir: |
833 | .space 4096 | 833 | .space 4096 |
834 | 834 | ||
835 | /* | ||
836 | * This space gets a copy of optional info passed to us by the bootstrap | ||
837 | * Used to pass parameters into the kernel like root=/dev/sda1, etc. | ||
838 | */ | ||
839 | .globl cmd_line | ||
840 | cmd_line: | ||
841 | .space 512 | ||
842 | |||
843 | /* Room for two PTE table poiners, usually the kernel and current user | 835 | /* Room for two PTE table poiners, usually the kernel and current user |
844 | * pointer to their respective root page table (pgdir). | 836 | * pointer to their respective root page table (pgdir). |
845 | */ | 837 | */ |
diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S index d83cbbb264e2..bfc38703a8ac 100644 --- a/arch/powerpc/kernel/head_fsl_booke.S +++ b/arch/powerpc/kernel/head_fsl_booke.S | |||
@@ -1050,14 +1050,6 @@ exception_stack_bottom: | |||
1050 | exception_stack_top: | 1050 | exception_stack_top: |
1051 | 1051 | ||
1052 | /* | 1052 | /* |
1053 | * This space gets a copy of optional info passed to us by the bootstrap | ||
1054 | * which is used to pass parameters into the kernel like root=/dev/sda1, etc. | ||
1055 | */ | ||
1056 | .globl cmd_line | ||
1057 | cmd_line: | ||
1058 | .space 512 | ||
1059 | |||
1060 | /* | ||
1061 | * Room for two PTE pointers, usually the kernel and current user pointers | 1053 | * Room for two PTE pointers, usually the kernel and current user pointers |
1062 | * to their respective root page table. | 1054 | * to their respective root page table. |
1063 | */ | 1055 | */ |
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index 50ef38cffdbf..36c90ba2d312 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c | |||
@@ -76,6 +76,8 @@ EXPORT_SYMBOL(machine_id); | |||
76 | 76 | ||
77 | unsigned long klimit = (unsigned long) _end; | 77 | unsigned long klimit = (unsigned long) _end; |
78 | 78 | ||
79 | char cmd_line[COMMAND_LINE_SIZE]; | ||
80 | |||
79 | /* | 81 | /* |
80 | * This still seems to be needed... -- paulus | 82 | * This still seems to be needed... -- paulus |
81 | */ | 83 | */ |