[lkml]   [2003]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: current_is_kswapd is a function
    Andrew Morton wrote:
    > It would probably be worthwhile teaching the compiler to generate a warning
    > in this case; I doubt if anyone is likely to want to find out at runtime
    > whether the linker happened to place a particular function at address zero.
    > I shall suggest that.

    I agree it would be a very useful warning.

    Testing the address is useful occasionally, to ask whether the target
    of a weak linkage reference was linked in, so a syntax is needed to
    suppress the warning, such as "&function != 0".

    -- Jamie
    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: 2005-03-22 13:49    [W:0.019 / U:0.844 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site