• Coly Li's avatar
    uv_time: add parameter to uv_read_rtc() · c5428e95
    Coly Li authored
    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: default avatarColy 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: default avatarIngo Molnar <mingo@elte.hu>
    Cc: Dimitri Sivanich <sivanich@sgi.com>
    c5428e95
uv_time.c 9.33 KB