projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de901d1
)
openrisc/traps: Declare unhandled_exception for asmlinkage
author
Stafford Horne
<shorne@gmail.com>
Sat, 5 Feb 2022 13:44:28 +0000
(22:44 +0900)
committer
Stafford Horne
<shorne@gmail.com>
Mon, 23 May 2022 08:15:49 +0000
(17:15 +0900)
Noticed this when workin on warnings. As unhandled_exception is used in
entry.S we should attribute it with asmlinkage.
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/openrisc/kernel/traps.c
b/arch/openrisc/kernel/traps.c
index 99cd2e6f88738961a4f130fdadc3233a44ab3e3b..fd9a0f2b66c483b637cd580884d0efeb1194add3 100644
(file)
--- a/
arch/openrisc/kernel/traps.c
+++ b/
arch/openrisc/kernel/traps.c
@@
-235,7
+235,7
@@
void __noreturn die(const char *str, struct pt_regs *regs, long err)
make_task_dead(SIGSEGV);
}
-void unhandled_exception(struct pt_regs *regs, int ea, int vector)
+
asmlinkage
void unhandled_exception(struct pt_regs *regs, int ea, int vector)
{
printk("Unable to handle exception at EA =0x%x, vector 0x%x",
ea, vector);