backport: include lib/bucket_locks.c
authorLuca Coelho <luciano.coelho@intel.com>
Sun, 18 Feb 2018 13:24:52 +0000 (15:24 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 23 Feb 2018 11:33:30 +0000 (12:33 +0100)
commit3b0d02e17c0c063f3893d7fcb0caa66954a75c8c
tree1fef6f882cbb7f8d908bd0b3b0c15243904c999d
parent1c96e546c821aef6e0fb5028d93cc6735a6f3b1c
backport: include lib/bucket_locks.c

The alloc/free_bucket_spinlocks() functions were moved to a new lib
file, namely bucket_locks.c.  Add an auto-backport for the
bucket_locks.c file and move the patching of the code that moved from
rhashtable to bucket_locks.c.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
backport/backport-include/linux/spinlock.h [new file with mode: 0644]
backport/compat/Kconfig
patches/lib-bucket_locks.patch [new file with mode: 0644]
patches/lib-rhashtable.patch