1. 13 9月, 2006 12 次提交
  2. 31 8月, 2006 25 次提交
  3. 30 8月, 2006 3 次提交
    • S
      [POWERPC] iseries: Define insw et al. so libata/ide will compile · e7498656
      Stephen Rothwell 提交于
      These are build fixes that enable (for example) libata and the ide
      code to actually build on iSeries.  The associated hardware will never
      be supported on legacy iSeries, so the code paths don't actually need
      to work, but it is useful (especially for a combined kernel) if the
      code can build.
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      e7498656
    • P
      [POWERPC] Fix irq enable/disable in smp_generic_take_timebase · 467c3780
      Paul Mackerras 提交于
      Eran Ben-Avi <eranpublic@yahoo.com> pointed out that the arch/ppc version
      of smp_generic_take_timebase disables interrupts on entry but exits without
      restoring them.  However, both it and the arch/powerpc version have another
      problem, which is that they use local_irq_disable/enable rather than
      local_irq_save/restore, and they are called with interrupts disabled.
      
      This fixes both problems; it changes a return to a break in the arch/ppc
      version, and changes both versions to use local_irq_save/restore.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      467c3780
    • P
      [POWERPC] Fix problem with time not advancing on 32-bit platforms · e0d872d5
      Paul Mackerras 提交于
      This fixes a problem introduced in 5db9fa95.
      The last_jiffy per-cpu variable is only 32 bits on 32-bit machines, but it
      was being compared with a 64-bit quantity (tb_next_jiffy), which resulted in
      time not advancing.
      
      This fixes it by changing last_jiffy to be 64 bits on all platforms.  With
      this, we no longer need tb_last_stamp as a 32-bit version of tb_last_jiffy,
      so this gets rid of tb_last_stamp and we just use tb_last_jiffy instead.
      This also fixes a bug when the boot cpu is not online, because using
      tb_last_stamp could have caused the wrong timebase origin value to be used
      when calculating the time of day.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      e0d872d5