lkml.org 
[lkml]   [2008]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] sparc64: use unsigned long long for u64
    From
    On Tue, Dec 23, 2008 at 9:26 AM, Sam Ravnborg <sam@ravnborg.org> wrote:
    >> wait, why does this need to be changed?
    >
    > We have:
    > clocksource_tick.read = tick_ops->get_tick;
    >
    > And clocksource_tick is of type clocksource:
    >
    > struct clocksource {
    > ...
    > cycle_t (*read)(void);
    >
    > And cycle_t is:
    > /* clocksource cycle base type */
    > typedef u64 cycle_t;
    >
    > And u64 is now:
    > unsigned long long - thus we need to fix prototype
    > of get_tick to fix the warnings.
    >
    > A cast could do it - but fixing the real problem
    > is better here.

    Sounds good to me. It was just a question. Thank you for the explanation.

    - Ken


    \
     
     \ /
      Last update: 2008-12-23 18:33    [W:0.075 / U:8.948 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site