Skip to content

Commit 53d0f8f

Browse files
kleikampgregkh
authored andcommitted
sparc64: Increase size of boot string to 1024 bytes
[ Upstream commit 1cef94c ] This is the longest boot string that silo supports. Signed-off-by: Dave Kleikamp <[email protected]> Cc: Bob Picco <[email protected]> Cc: David S. Miller <[email protected]> Cc: [email protected] Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 53060b7 commit 53d0f8f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

arch/sparc/prom/bootstr_64.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
* the .bss section or it will break things.
1515
*/
1616

17-
#define BARG_LEN 256
17+
/* We limit BARG_LEN to 1024 because this is the size of the
18+
* 'barg_out' command line buffer in the SILO bootloader.
19+
*/
20+
#define BARG_LEN 1024
1821
struct {
1922
int bootstr_len;
2023
int bootstr_valid;

0 commit comments

Comments
 (0)