]> git.dujemihanovic.xyz Git - linux.git/commit
tools: Fix math.h breakage
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 30 Nov 2021 14:13:16 +0000 (14:13 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Nov 2021 17:14:42 +0000 (09:14 -0800)
commitd6e6a27d960f9f07aef0b979c49c6736ede28f75
tree06c3d62e8c750cfd72e3d2a44637acc027b39b0a
parentddca5b0eba4ef69338cbc210d3fb3332499128f9
tools: Fix math.h breakage

Commit 98e1385ef24b ("include/linux/radix-tree.h: replace kernel.h with
the necessary inclusions") broke the radix tree test suite in two
different ways; first by including math.h which didn't exist in the
tools directory, and second by removing an implicit include of
spinlock.h before lockdep.h.  Fix both issues.

Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/include/linux/kernel.h
tools/include/linux/math.h [new file with mode: 0644]
tools/testing/radix-tree/linux/lockdep.h