radix tree test suite: Reduce kernel.h
authorMatthew Wilcox <mawilcox@microsoft.com>
Fri, 16 Dec 2016 20:11:05 +0000 (15:11 -0500)
committerMatthew Wilcox <mawilcox@microsoft.com>
Mon, 13 Feb 2017 21:09:42 +0000 (16:09 -0500)
commitab3a1ffd11d90583c71bd606bf0fd5bfef30bce9
treed8b274be60b3177b7524e670fb8331286d1ae630
parent7a4f11b88981f47d79eb64267e8a2989a18ce831
radix tree test suite: Reduce kernel.h

Many of the definitions in the radix-tree kernel.h are redundant with
others in tools/include, or are no longer used, such as panic().
Move the definition of __init to init.h and in_interrupt() to preempt.h

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
tools/testing/radix-tree/linux/init.h
tools/testing/radix-tree/linux/kernel.h
tools/testing/radix-tree/linux/preempt.h