liblockdep: Define the ARRAY_SIZE() macro
authorBen Hutchings <ben@decadent.org.uk>
Tue, 14 Jun 2016 20:14:14 +0000 (21:14 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Fri, 2 Dec 2016 05:35:22 +0000 (05:35 +0000)
commit7ef79bdbdb6d6e3cf527fa1d053e2e44df398799
tree508f89ce7b3b133ed955b0e255b4889f53928886
parent662cf8bac93ca2dd4707ffd673be1125890673f8
liblockdep: Define the ARRAY_SIZE() macro

lockdep.c now uses ARRAY_SIZE().

Fixes: 75dd602a5198 ("lockdep: Fix lock_chain::base size")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name liblockdep-define-the-array_size-macro.patch
tools/lib/lockdep/uinclude/linux/kernel.h