sparc64: Increase size of boot string to 1024 bytes
authorDave Kleikamp <dave.kleikamp@oracle.com>
Tue, 7 Oct 2014 13:12:37 +0000 (08:12 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Oct 2014 19:41:02 +0000 (15:41 -0400)
This is the longest boot string that silo supports.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Cc: Bob Picco <bob.picco@oracle.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/prom/bootstr_64.c

index ab9ccc63b3880f5de18eb427869574b872a1ceb2..7149e77714a4a45b3ffb96e1388adca25577cca6 100644 (file)
  *          the .bss section or it will break things.
  */
 
-#define BARG_LEN  256
+/* We limit BARG_LEN to 1024 because this is the size of the
+ * 'barg_out' command line buffer in the SILO bootloader.
+ */
+#define BARG_LEN 1024
 struct {
        int bootstr_len;
        int bootstr_valid;