liblockdep: Fix undefined symbol prandom_u32
authorBen Hutchings <ben@decadent.org.uk>
Tue, 14 Jun 2016 20:09:19 +0000 (21:09 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 28 Sep 2017 17:27:56 +0000 (18:27 +0100)
commitb30ad9d8ac96fca2383d8a4d5af9562505ba884a
tree1cd543b7c4497e8a61d1b0092b46259a73850f4b
parent9809ea5ca25a30de4c21f289559ad8b467cfa1ac
liblockdep: Fix undefined symbol prandom_u32

__lock_pin_lock() now calls prandom_u32() which is not defined in
liblockdep.  __lock_pin_lock() and its caller lock_pin_lock() are dead
code in liblockdep, but we still need to provide a definition of
prandom_u32() in case lazy binding is disabled.

Fixes: e7904a28f533 ("locking/lockdep, sched/core: Implement a better ...")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name liblockdep-fix-undefined-symbol-prandom_u32.patch
tools/lib/lockdep/lockdep.c