radix tree test suite: fix compilation
authorMatthew Wilcox <mawilcox@microsoft.com>
Wed, 7 Dec 2016 22:44:33 +0000 (14:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 Dec 2016 01:10:00 +0000 (17:10 -0800)
commit53855d10f4567a0577360b6448d52a863929775b
tree8297310a66d20b6d01bcef8ad64951963eb6156b
parent5c7e9ccd91b90d87029261f8856294ee51934cab
radix tree test suite: fix compilation

Patch "lib/radix-tree: Convert to hotplug state machine" breaks the test
suite as it adds a call to cpuhp_setup_state_nocalls() which is not
currently emulated in the test suite.  Add it, and delete the emulation
of the old CPU hotplug mechanism.

Link: http://lkml.kernel.org/r/1480369871-5271-36-git-send-email-mawilcox@linuxonhyperv.com
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Tested-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/radix-tree.c
tools/testing/radix-tree/linux/cpu.h
tools/testing/radix-tree/linux/notifier.h [deleted file]