Commit b9177fbe authored by Mathieu Chouquet-Stringer's avatar Mathieu Chouquet-Stringer Committed by David S. Miller

[SPARC]: Mark unaligned_panic as attribute used to workaround gcc-3.4 problem.

parent e17b0475
...@@ -175,7 +175,7 @@ static unsigned long compute_effective_address(struct pt_regs *regs, ...@@ -175,7 +175,7 @@ static unsigned long compute_effective_address(struct pt_regs *regs,
} }
/* This is just to make gcc think die_if_kernel does return... */ /* This is just to make gcc think die_if_kernel does return... */
static void unaligned_panic(char *str, struct pt_regs *regs) static void __attribute_used__ unaligned_panic(char *str, struct pt_regs *regs)
{ {
die_if_kernel(str, regs); die_if_kernel(str, regs);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment