]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/lib/kgdb.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / arch / powerpc / lib / kgdb.c
index d3eb1f35a9fd90191268cf0336522aa280c05795..1ec68184bf13f6445831b41c7511ddcb9e2db1b9 100644 (file)
@@ -313,7 +313,7 @@ kgdb_putregs(struct pt_regs *regs, char *buf, int length)
    the debugger. */
 
 void
-kgdb_breakpoint(int argc, char *argv[])
+kgdb_breakpoint(int argc, char * const argv[])
 {
        asm("   .globl breakinst\n\
             breakinst: .long 0x7d821008\n\