Blackfin: fix command line corruption with DEBUG_DOUBLEFAULT
commit934ad5062c7ae18dde894f828037cd04daae5a63
authorMike Frysinger <vapier@gentoo.org>
Tue, 26 May 2009 21:48:38 +0000 (26 21:48 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jul 2009 03:38:49 +0000 (19 20:38 -0700)
tree16ec41535743dfee09c3f30bb93b617b8406c394
parent11b46bb25fb2cc85e7414845575a17a944f59b60
Blackfin: fix command line corruption with DEBUG_DOUBLEFAULT

commit 37082511f06108129bd5f96d625a6fae2d5a4ab4 upstream.

Commit 6b3087c6 (which introduced Blackfin SMP) broke command line passing
when the DEBUG_DOUBLEFAULT config option was enabled.  Switch the code to
using a scratch register and not R7 which holds the command line.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/blackfin/mach-common/head.S