lkml.org 
[lkml]   [2007]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 07/12] clocksource: x86_64 initialize list value
    Update arch/x86_64/ with list initialization.

    Signed-Off-By: Daniel Walker <dwalker@mvista.com>

    ---
    arch/x86_64/kernel/hpet.c | 1 +
    arch/x86_64/kernel/tsc.c | 1 +
    2 files changed, 2 insertions(+)

    Index: linux-2.6.19/arch/x86_64/kernel/hpet.c
    ===================================================================
    --- linux-2.6.19.orig/arch/x86_64/kernel/hpet.c
    +++ linux-2.6.19/arch/x86_64/kernel/hpet.c
    @@ -472,6 +472,7 @@ struct clocksource clocksource_hpet = {
    .shift = HPET_SHIFT,
    .is_continuous = 1,
    .vread = vread_hpet,
    + .list = LIST_HEAD_INIT(clocksource_hpet.list),
    };

    static int __init init_hpet_clocksource(void)
    Index: linux-2.6.19/arch/x86_64/kernel/tsc.c
    ===================================================================
    --- linux-2.6.19.orig/arch/x86_64/kernel/tsc.c
    +++ linux-2.6.19/arch/x86_64/kernel/tsc.c
    @@ -209,6 +209,7 @@ static struct clocksource clocksource_ts
    .update_callback = tsc_update_callback,
    .is_continuous = 1,
    .vread = vread_tsc,
    + .list = LIST_HEAD_INIT(clocksource_tsc.list),
    };

    static int tsc_update_callback(void)
    --
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-01-23 07:33    [W:0.022 / U:0.272 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site