summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/bfrom.h
diff options
context:
space:
mode:
authorRobin Getz <rgetz@blackfin.uclinux.org>2009-01-07 23:14:39 +0800
committerBryan Wu <cooloney@kernel.org>2009-01-07 23:14:39 +0800
commit26fe19f76027b05c39faa9b728912631e91ec182 (patch)
treeb66ea7b4f8d56dac40aa8af919d64f71c8c0a18c /arch/blackfin/include/asm/bfrom.h
parent2377feb4ce1cd42b7c1d266f466d69597d9dac7f (diff)
downloadtalos-obmc-linux-26fe19f76027b05c39faa9b728912631e91ec182.tar.gz
talos-obmc-linux-26fe19f76027b05c39faa9b728912631e91ec182.zip
Blackfin arch: Update some inline assembly, tweak some register constraints
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/include/asm/bfrom.h')
-rw-r--r--arch/blackfin/include/asm/bfrom.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/bfrom.h b/arch/blackfin/include/asm/bfrom.h
index cfe8024c3b2f..9e4be5e5e767 100644
--- a/arch/blackfin/include/asm/bfrom.h
+++ b/arch/blackfin/include/asm/bfrom.h
@@ -43,6 +43,11 @@ __attribute__((__noreturn__))
static inline void bfrom_SoftReset(void *new_stack)
{
while (1)
+ /*
+ * We don't declare the SP as clobbered on purpose, since
+ * it confuses the heck out of the compiler, and this function
+ * never returns
+ */
__asm__ __volatile__(
"sp = %[stack];"
"jump (%[bfrom_syscontrol]);"
OpenPOWER on IntegriCloud