aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-10-22 20:33:35 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-22 20:33:35 -0400
commit80c226fbef56576946c9655fcb2ab62e63404d12 (patch)
treef5f565c370aeb0de257a4e3825c0873af54590e8 /arch/m68knommu
parent2c15bd00a5d6b2b64e006e91e2196f0c6a764cb6 (diff)
parent779b7e64b536ff65bcd40c0292871d2bb9b6d6e5 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: m68k: Add missing I/O macros {in,out}{w,l}_p() for !CONFIG_ISA m68k: Remove big kernel lock in cache flush code m68k: __pa(): cast arg to long fbdev: atafb - Remove undead ifdef ATAFB_FALCON zorro: Fix device_register() error handling fbdev/m68k: Fix section mismatches in q40fb.c m68k/m68knommu: merge the MMU and non-MMU traps.h m68k/m68knommu: merge MMU and non-MMU thread_info.h m68k/m68knommu: merge MMU and non-MMU atomic.h m68k/m68knommu: clean up page.h m68k/m68knommu: merge machdep.h files into a single file m68k/m68knommu: merge MMU and non-MMU string.h m68k/m68knommu: Remove dead SMP config option m68k: move definition of THREAD_SIZE into thread_info_mm.h m68k: Use asm-generic/ioctls.h (enables termiox) m68k: Remove dead GG2 config option
Diffstat (limited to 'arch/m68knommu')
-rw-r--r--arch/m68knommu/kernel/time.c3
-rw-r--r--arch/m68knommu/platform/coldfire/entry.S4
2 files changed, 3 insertions, 4 deletions
diff --git a/arch/m68knommu/kernel/time.c b/arch/m68knommu/kernel/time.c
index a90acf5b0cde..7089dd9d843b 100644
--- a/arch/m68knommu/kernel/time.c
+++ b/arch/m68knommu/kernel/time.c
@@ -50,9 +50,8 @@ irqreturn_t arch_timer_interrupt(int irq, void *dummy)
50 50
51 write_sequnlock(&xtime_lock); 51 write_sequnlock(&xtime_lock);
52 52
53#ifndef CONFIG_SMP
54 update_process_times(user_mode(get_irq_regs())); 53 update_process_times(user_mode(get_irq_regs()));
55#endif 54
56 return(IRQ_HANDLED); 55 return(IRQ_HANDLED);
57} 56}
58#endif 57#endif
diff --git a/arch/m68knommu/platform/coldfire/entry.S b/arch/m68knommu/platform/coldfire/entry.S
index dd7d591f70ea..cd79d7e92ce6 100644
--- a/arch/m68knommu/platform/coldfire/entry.S
+++ b/arch/m68knommu/platform/coldfire/entry.S
@@ -112,7 +112,7 @@ ret_from_exception:
112 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */ 112 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */
113 movel %d1,%a0 113 movel %d1,%a0
114 movel %a0@(TI_FLAGS),%d1 /* get thread_info->flags */ 114 movel %a0@(TI_FLAGS),%d1 /* get thread_info->flags */
115 andl #_TIF_NEED_RESCHED,%d1 115 andl #(1<<TIF_NEED_RESCHED),%d1
116 jeq Lkernel_return 116 jeq Lkernel_return
117 117
118 movel %a0@(TI_PREEMPTCOUNT),%d1 118 movel %a0@(TI_PREEMPTCOUNT),%d1
@@ -136,7 +136,7 @@ Luser_return:
136 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */ 136 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */
137 movel %d1,%a0 137 movel %d1,%a0
138 movel %a0@(TI_FLAGS),%d1 /* get thread_info->flags */ 138 movel %a0@(TI_FLAGS),%d1 /* get thread_info->flags */
139 andl #_TIF_WORK_MASK,%d1 139 andl #0xefff,%d1
140 jne Lwork_to_do /* still work to do */ 140 jne Lwork_to_do /* still work to do */
141 141
142Lreturn: 142Lreturn: