[lkml]   [2004]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] fix platform_rename_gsi related ia32 build breakage

    On Thu, 11 Nov 2004, Len Brown wrote:
    > I used a function pointer here because the same kernel binary must be
    > able to run on an ES7000 or a non-ES7000, so the compile-time inline
    > idiom doesn't work.

    Sure it does. Do something like this in a header file

    static inline int translate_irq_number(...)
    return fn_ptr_xxx();
    return irq;

    which means that yes, it uses the function pointer when it is meaningful,
    but if there is no point, the code just goes away.

    > If you read this far and have suggestions for a more descriptive name
    > than platform_rename_gsi(), just let me know.

    At _least_ write out what the hell "gsi" is.

    TLA's are bad. "gsi" apparently isn't the Geological Survey of Ireland,
    but that's all I can tell from google.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2009-11-18 23:46    [W:0.018 / U:2.104 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site