]> git.karo-electronics.de Git - karo-tx-linux.git/commit
objtool: Drop ARRAY_SIZE() definition, tools/include/linux/kernel.h has it now
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Apr 2017 14:58:55 +0000 (11:58 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Apr 2017 16:01:44 +0000 (13:01 -0300)
commit0061459744cb985ef31a484bcd9b2fc3cfd01c1b
tree02095bc72832a56ee611e6ff019e472c0ddc637a
parent877a7a11050ee4d465364c57f8fbf78f6b1a2559
objtool: Drop ARRAY_SIZE() definition, tools/include/linux/kernel.h has it now

And with the goodies present in the kernel.h counterpart, i.e. checking
that the 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: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-roiwxwgwgld4kygn65if60wa@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/objtool/builtin-check.c
tools/objtool/objtool.c