liblockdep: Define the ARRAY_SIZE() macro
authorBen Hutchings <ben@decadent.org.uk>
Tue, 14 Jun 2016 20:14:14 +0000 (21:14 +0100)
committerAurelien Jarno <aurel32@debian.org>
Fri, 2 Mar 2018 07:52:22 +0000 (07:52 +0000)
commitfbb4cf7dd8c6dd3d0083b33f23a8b23892228e89
treeb9fe94299f801e37189438e0df1e588ec334dd48
parent0ef99ee81b122bb1d2d86baa5b3826a30f6cb8bb
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