[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <555A50D8.1040202@plumgrid.com>
Date: Mon, 18 May 2015 13:51:36 -0700
From: Alexei Starovoitov <ast@...mgrid.com>
To: Arnaldo Carvalho de Melo <acme@...nel.org>
CC: Wang Nan <wangnan0@...wei.com>, paulus@...ba.org,
a.p.zijlstra@...llo.nl, mingo@...hat.com, namhyung@...nel.org,
jolsa@...nel.org, dsahern@...il.com, daniel@...earbox.net,
brendan.d.gregg@...il.com, masami.hiramatsu.pt@...achi.com,
lizefan@...wei.com, linux-kernel@...r.kernel.org, pi3orama@....com
Subject: Re: [RFC PATCH v3 12/37] bpf tools: Collect version and license from
ELF sections
On 5/18/15 1:34 PM, Arnaldo Carvalho de Melo wrote:
>
> So, lets take a look at: tools/include/linux/kernel.h... bummer, that
> one wasn't yet moved from tools/perf/util/include/linux/kernel.h there.
> Will do, and then it has this:
>
> #ifndef min
> #define min(x, y) ({ \
> typeof(x) _min1 = (x); \
> typeof(y) _min2 = (y); \
> (void) (&_min1 == &_min2); \
> _min1 < _min2 ? _min1 : _min2; })
> #endif
>
> We should minimize this mess :-)
>
yes. that's even better! Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists