[lkml]   [2012]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v8 4/8] smp: add func to IPI cpus based on parameter func
    On Thu, Feb 9, 2012 at 10:13 AM, Andrew Morton
    <> wrote:
    > On Thu, 9 Feb 2012 10:08:16 +0200 Gilad Ben-Yossef <> wrote:
    >> BTW -  I used a macro since I imitated the rest of the code in smp.h
    >> but is there any
    >> reason not to use an inline macro here?
    > If it can be implemented in C then sure, go for it - that's superior in
    > numerous ways.

    OK, I tried that and got into a maze of cyclic include files and
    function definitions so
    I guess I now know why the original code used macros. I guess I'll
    leave it as such
    for now.


    Gilad Ben-Yossef
    Chief Coffee Drinker
    Israel Cell: +972-52-8260388
    US Cell: +1-973-8260388

    "If you take a class in large-scale robotics, can you end up in a
    situation where the homework eats your dog?"
     -- Jean-Baptiste Queru
    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: 2012-02-09 10:55    [W:0.030 / U:28.004 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site