Commit e5b67f38 authored by David Mosberger's avatar David Mosberger

ia64: Minor formatting fixes for the preemption patch.

parent 87e53587
...@@ -891,7 +891,7 @@ config DEBUG_SPINLOCK_SLEEP ...@@ -891,7 +891,7 @@ config DEBUG_SPINLOCK_SLEEP
bool "Sleep-inside-spinlock checking" bool "Sleep-inside-spinlock checking"
help help
If you say Y here, various routines which may sleep will become very If you say Y here, various routines which may sleep will become very
noisy if they are called with a spinlock held. noisy if they are called with a spinlock held.
config IA64_DEBUG_CMPXCHG config IA64_DEBUG_CMPXCHG
bool "Turn on compare-and-exchange bug checking (slow!)" bool "Turn on compare-and-exchange bug checking (slow!)"
......
...@@ -595,12 +595,12 @@ GLOBAL_ENTRY(ia64_leave_kernel) ...@@ -595,12 +595,12 @@ GLOBAL_ENTRY(ia64_leave_kernel)
;; ;;
(pKStk) cmp4.eq p6,p0=r21,r0 // p6 <- preempt_count == 0 (pKStk) cmp4.eq p6,p0=r21,r0 // p6 <- preempt_count == 0
;; ;;
#else // CONFIG_PREEMPT #else /* CONFIG_PREEMPT */
(pUStk) rsm psr.i (pUStk) rsm psr.i
;; ;;
(pUStk) adds r17=TI_FLAGS+IA64_TASK_SIZE,r13 (pUStk) adds r17=TI_FLAGS+IA64_TASK_SIZE,r13
;; ;;
#endif // CONFIG_PREEMPT #endif /* CONFIG_PREEMPT */
.work_processed: .work_processed:
(p6) ld4 r18=[r17] // load current_thread_info()->flags (p6) ld4 r18=[r17] // load current_thread_info()->flags
adds r2=PT(R8)+16,r12 adds r2=PT(R8)+16,r12
...@@ -827,7 +827,7 @@ skip_rbs_switch: ...@@ -827,7 +827,7 @@ skip_rbs_switch:
(pKStk) st4 [r20]=r21 (pKStk) st4 [r20]=r21
ssm psr.i // enable interrupts ssm psr.i // enable interrupts
#endif #endif
#if __GNUC__ < 3 #if __GNUC__ < 3
br.call.spnt.many rp=invoke_schedule br.call.spnt.many rp=invoke_schedule
#else #else
...@@ -840,7 +840,7 @@ skip_rbs_switch: ...@@ -840,7 +840,7 @@ skip_rbs_switch:
#if CONFIG_PREEMPT #if CONFIG_PREEMPT
(pKStk) adds r20=TI_PRE_COUNT+IA64_TASK_SIZE,r13 (pKStk) adds r20=TI_PRE_COUNT+IA64_TASK_SIZE,r13
;; ;;
(pKStk) st4 [r20]=r0 // preempt_count() <- 0 (pKStk) st4 [r20]=r0 // preempt_count() <- 0
#endif #endif
br.cond.sptk.many .work_processed // re-check br.cond.sptk.many .work_processed // re-check
......
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