diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-17 16:29:26 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-19 18:01:43 +0200 |
commit | 8607c1ee734d12f62c6a46abef13a510e25a1839 (patch) | |
tree | 0e860bf17795004b3d609085a10f9beffd7dd595 /tools/kvm | |
parent | tools include: Adopt __same_type() and __must_be_array() from the kernel (diff) | |
download | linux-8607c1ee734d12f62c6a46abef13a510e25a1839.tar.xz linux-8607c1ee734d12f62c6a46abef13a510e25a1839.zip |
tools include: Move ARRAY_SIZE() to linux/kernel.h
To match the kernel, then look for places redefining it to make it use
this version, which checks that its parameter is an array at build time.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-txlcf1im83bcbj6kh0wxmyy8@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/kvm')
0 files changed, 0 insertions, 0 deletions