]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Merge commit 'linus/master' into merge-linus
authorArjan van de Ven <arjan@linux.intel.com>
Fri, 17 Oct 2008 16:20:26 +0000 (09:20 -0700)
committerArjan van de Ven <arjan@linux.intel.com>
Fri, 17 Oct 2008 16:20:26 +0000 (09:20 -0700)
Conflicts:

arch/x86/kvm/i8254.c

15 files changed:
1  2 
arch/ia64/kvm/kvm-ia64.c
arch/x86/kvm/i8254.c
arch/x86/kvm/lapic.c
drivers/s390/crypto/ap_bus.c
fs/compat.c
include/linux/hrtimer.h
include/linux/sched.h
include/linux/time.h
kernel/fork.c
kernel/hrtimer.c
kernel/posix-timers.c
kernel/sched.c
kernel/sys.c
kernel/time/ntp.c
kernel/time/tick-sched.c

Simple merge
index 1bf8f57a30411d69afc00438456555f9310bd635,634132a9a512391d324def8826390a709d257c80..11c6725fb798b6967d60f07ea920fc594d292994
@@@ -200,13 -200,14 +200,14 @@@ static int __pit_timer_fn(struct kvm_kp
  
        if (!atomic_inc_and_test(&pt->pending))
                set_bit(KVM_REQ_PENDING_TIMER, &vcpu0->requests);
-       if (vcpu0 && waitqueue_active(&vcpu0->wq)) {
-               vcpu0->arch.mp_state = KVM_MP_STATE_RUNNABLE;
+       if (vcpu0 && waitqueue_active(&vcpu0->wq))
                wake_up_interruptible(&vcpu0->wq);
-       }
  
 -      pt->timer.expires = ktime_add_ns(pt->timer.expires, pt->period);
 -      pt->scheduled = ktime_to_ns(pt->timer.expires);
 +      hrtimer_add_expires_ns(&pt->timer, pt->period);
-       pt->scheduled = ktime_to_ns(hrtimer_get_expires(&pt->timer));
++      pt->scheduled = hrtimer_get_expires_ns(&pt->timer);
+       if (pt->period)
 -              ps->channels[0].count_load_time = pt->timer.expires;
++              ps->channels[0].count_load_time = hrtimer_get_expires(&pt->timer);
  
        return (pt->period == 0 ? 0 : 1);
  }
index a5b61de6adf1c7cb4e8b43cef1fe0dfaca0b4e20,6571926bfd339b498c2ca06835b71d8ead494787..0fc3cab48943da8a3c513c7c753a4792c6743198
@@@ -947,13 -941,14 +941,12 @@@ static int __apic_timer_fn(struct kvm_l
  
        if(!atomic_inc_and_test(&apic->timer.pending))
                set_bit(KVM_REQ_PENDING_TIMER, &apic->vcpu->requests);
-       if (waitqueue_active(q)) {
-               apic->vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE;
+       if (waitqueue_active(q))
                wake_up_interruptible(q);
-       }
        if (apic_lvtt_period(apic)) {
                result = 1;
 -              apic->timer.dev.expires = ktime_add_ns(
 -                                      apic->timer.dev.expires,
 -                                      apic->timer.period);
 +              hrtimer_add_expires_ns(&apic->timer.dev, apic->timer.period);
        }
        return result;
  }
Simple merge
diff --cc fs/compat.c
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc kernel/fork.c
Simple merge
Simple merge
Simple merge
diff --cc kernel/sched.c
Simple merge
diff --cc kernel/sys.c
Simple merge
Simple merge
index b33be61c0f6bec1ece99784ba42f508f1bcaedc5,b711ffcb106c906be19eab01140ec1e8cafd0063..a547be11cf976c9abba879b4fcd1c025c78ca78d
@@@ -622,10 -634,10 +634,10 @@@ void tick_setup_sched_timer(void
         */
        hrtimer_init(&ts->sched_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS);
        ts->sched_timer.function = tick_sched_timer;
-       ts->sched_timer.cb_mode = HRTIMER_CB_IRQSAFE_NO_SOFTIRQ;
+       ts->sched_timer.cb_mode = HRTIMER_CB_IRQSAFE_PERCPU;
  
        /* Get the next period (per cpu) */
 -      ts->sched_timer.expires = tick_init_jiffy_update();
 +      hrtimer_set_expires(&ts->sched_timer, tick_init_jiffy_update());
        offset = ktime_to_ns(tick_period) >> 1;
        do_div(offset, num_possible_cpus());
        offset *= smp_processor_id();