1. 30 11月, 2006 2 次提交
  2. 01 11月, 2006 1 次提交
    • A
      [MIPS] Fixup migration to GENERIC_TIME · 16b7b2ac
      Atsushi Nemoto 提交于
      Since we already moved to GENERIC_TIME, we should implement alternatives
      of old do_gettimeoffset routines to get sub-jiffies resolution from
      gettimeofday().  This patch includes:
      
       * MIPS clocksource support (based on works by Manish Lachwani).
       * remove unused gettimeoffset routines and related codes.
       * remove unised 64bit do_div64_32().
       * simplify mips_hpt_init. (no argument needed, __init tag)
       * simplify c0_hpt_timer_init. (no need to write to c0_count)
       * remove some hpt_init routines.
       * mips_hpt_mask variable to specify bitmask of hpt value.
       * convert jmr3927_do_gettimeoffset to jmr3927_hpt_read.
       * convert ip27_do_gettimeoffset to ip27_hpt_read.
       * convert bcm1480_do_gettimeoffset to bcm1480_hpt_read.
       * simplify sb1250 hpt functions. (no need to subtract and shift)
      Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      16b7b2ac
  3. 09 10月, 2006 1 次提交
  4. 08 10月, 2006 1 次提交
  5. 01 7月, 2006 1 次提交
  6. 20 6月, 2006 1 次提交
    • [
      [PATCH] Fix BCM1480 doubled process accounting times. · e1701fb2
      [MIPS] James E Wilson 提交于
      Running a UP kernel on a bcm1480 board, I get nonsensical timing
      results, like this:
      release@unknown:~/tmp$ time ./a.out
      real    0m22.906s
      user    0m45.792s
      sys     0m0.010s
      According to my watch, this program took 23 seconds to run, so the real
      time clock is OK.  It is process accounting that is broken.
      
      I tracked this down to a problem with the function
      bcm1480_timer_interrupt in the file sibyte/bcm1480/time.c.  This
      function calls ll_timer_interrupt for cpu0, and ll_local_timer_interrupt
      for all cpus.  However, both of these functions do process accounting.
      Thus processes running on cpu0 end up with doubled times.  This is very
      obvious in a UP kernel where all processes run on cpu0.
      
      The correct way to do this is to only call ll_local_timer interrupt if
      this is not cpu0.  This can be seen in the mips-board/generic/time.c
      file, and also in the sibyte/sb1250/time.c file, both of which handle
      this correctly.  I fixed the bcm1480/time.c file by copying over the
      correct code from the sb1250/time.c file.
      
      With this fix, I now get sensible results.
      release@unknown:~/tmp$ time ./a.out
      real    0m22.903s
      user    0m22.894s
      sys     0m0.006s
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      e1701fb2
  7. 30 10月, 2005 4 次提交
  8. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4