liblockdep: Define the ARRAY_SIZE() macro
authorBen Hutchings <ben@decadent.org.uk>
Tue, 14 Jun 2016 20:14:14 +0000 (21:14 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 28 Sep 2017 17:27:56 +0000 (18:27 +0100)
commitb092c3c1322df2f1b3e1091c2c91a95468291f5b
tree06537bf61a32d68f8a8269cd058841adc6070289
parentb30ad9d8ac96fca2383d8a4d5af9562505ba884a
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