projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8715d8
)
sh: fix trigger_address_error()
author
Yoshihiro Shimoda
<
[email protected]
>
Sun, 4 Nov 2012 15:53:13 +0000
(15:53 +0000)
committer
Nobuhiro Iwamatsu
<
[email protected]
>
Fri, 30 Nov 2012 06:06:04 +0000
(15:06 +0900)
The function should set BL bit, but it should not clear other flags.
So, the patch uses set_bl_bit() instead of a local asm code.
Signed-off-by: Yoshihiro Shimoda <
[email protected]
>
Signed-off-by: Nobuhiro Iwamatsu <
[email protected]
>
arch/sh/include/asm/system.h
patch
|
blob
|
history
diff --git
a/arch/sh/include/asm/system.h
b/arch/sh/include/asm/system.h
index 56fd77acea6ee0f4acf6e6d74ac75cb89e6b4f99..24b5ce8e3042e0e498c8f1514aa28bca9b23306c 100644
(file)
--- a/
arch/sh/include/asm/system.h
+++ b/
arch/sh/include/asm/system.h
@@
-274,8
+274,8
@@
void enable_hlt(void);
static inline void trigger_address_error(void)
{
+ set_bl_bit();
__asm__ __volatile__ (
- "ldc %0, sr\n\t"
"mov.l @%1, %0"
:
: "r" (0x10000000), "r" (0x80000001)