Changeset 15724


Ignore:
Timestamp:
2009-05-09T01:27:46+02:00 (9 years ago)
Author:
nbd
Message:

rb532: restore command line patching functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/rb532/patches-2.6.28/007-cmdline_hack.patch

    r15581 r15724  
    1313        /* 
    1414         * Reserved space for exception handlers. 
     15--- a/arch/mips/rb532/prom.c 
     16+++ b/arch/mips/rb532/prom.c 
     17@@ -67,6 +67,7 @@ 
     18        return simple_strtoul(num, 0, 10); 
     19 } 
     20  
     21+extern char _image_cmdline; 
     22 void __init prom_setup_cmdline(void) 
     23 { 
     24        char cmd_line[CL_SIZE]; 
     25@@ -109,6 +110,9 @@ 
     26        } 
     27        *(cp++) = ' '; 
     28  
     29+       strcpy(cp,(&_image_cmdline + 8)); 
     30+       cp += strlen(&_image_cmdline); 
     31+ 
     32        i = strlen(arcs_cmdline); 
     33        if (i > 0) { 
     34                *(cp++) = ' '; 
Note: See TracChangeset for help on using the changeset viewer.