aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sparc/lib/copy_user.S4
-rw-r--r--drivers/serial/sunzilog.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/sparc/lib/copy_user.S b/arch/sparc/lib/copy_user.S
index 577505b692ae..ef095b6c43b1 100644
--- a/arch/sparc/lib/copy_user.S
+++ b/arch/sparc/lib/copy_user.S
@@ -14,6 +14,7 @@
14#include <asm/ptrace.h> 14#include <asm/ptrace.h>
15#include <asm/asmmacro.h> 15#include <asm/asmmacro.h>
16#include <asm/page.h> 16#include <asm/page.h>
17#include <asm/thread_info.h>
17 18
18/* Work around cpp -rob */ 19/* Work around cpp -rob */
19#define ALLOC #alloc 20#define ALLOC #alloc
@@ -366,6 +367,9 @@ fixupretl:
366 blu 1f 367 blu 1f
367 cmp %o1, %g1 368 cmp %o1, %g1
368 bgeu 1f 369 bgeu 1f
370 ld [%g6 + TI_PREEMPT], %g1
371 cmp %g1, 0
372 bne 1f
369 nop 373 nop
370 save %sp, -64, %sp 374 save %sp, -64, %sp
371 mov %i0, %o0 375 mov %i0, %o0
diff --git a/drivers/serial/sunzilog.c b/drivers/serial/sunzilog.c
index d34f336d53d8..0da3ebfff82d 100644
--- a/drivers/serial/sunzilog.c
+++ b/drivers/serial/sunzilog.c
@@ -1270,7 +1270,7 @@ static void __init sunzilog_register_serio(struct uart_sunzilog_port *up)
1270} 1270}
1271#endif 1271#endif
1272 1272
1273static void __init sunzilog_init_hw(struct uart_sunzilog_port *up) 1273static void __devinit sunzilog_init_hw(struct uart_sunzilog_port *up)
1274{ 1274{
1275 struct zilog_channel __iomem *channel; 1275 struct zilog_channel __iomem *channel;
1276 unsigned long flags; 1276 unsigned long flags;