Fixes a couple of things:
1) extend xtime_lock protection to cover do_timer() call (the same
as in i386 arch). This enables other CPUs to use jiffie in a sane way.
2) It was not quite right to deliver ll_timer_interrupt() and
ll_local_timer_interrupt() as two separate interrupts, because
it may cause bottom half to execute ahead of the second interrupt.
3) for bcm1250, we now use zb bus counter for intra-jiffie offset.
No more time running backward problem.
(TODO, I think I probably need to check the chip revision to make
sure zb bus counter is there. Otherwise we can use null_gettimeoffset())
The patch should apply to 64bit and 2.5 as well. Comments?
Jun
030609.a-smp-gettimeoffset-fix.patch
Description: Text document
|