1. 27 4月, 2009 10 次提交
  2. 24 4月, 2009 3 次提交
  3. 23 4月, 2009 26 次提交
  4. 22 4月, 2009 1 次提交
    • C
      uv_time: add parameter to uv_read_rtc() · c5428e95
      Coly Li 提交于
      uv_read_rtc() is referenced by read member of struct clocksource clocksource_uv.
      In include/linux/clocksource.h, read of struct clocksource is declared as:
      cycle_t (*read)(struct clocksource *cs)
      
      This got introduced recently in:
      
         8e19608e: clocksource: pass clocksource to read() callback
      
      But arch/x86/kernel/uv_time.c was not properly converted by that pach.
      
      This patch adds a dummy parameter (struct clocksource type) to uv_read_rtc() to
      fix the incompatible reference in clocksource_uv, and add a NULL parameter in
      all places where uv_read_rtc() gets called.
      
      [ Impact: cleanup, address compiler warning ]
      Signed-off-by: NColy Li <coly.li@suse.de>
      Cc: Dimitri Sivanich <sivanich@sgi.com>
      Cc: Magnus Damm <damm@igel.co.jp>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Hugh Dickins <hugh@veritas.com>
      LKML-Reference: <49EF3614.1050806@suse.de>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Cc: Dimitri Sivanich <sivanich@sgi.com>
      c5428e95