]> git.baikalelectronics.ru Git - kernel.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)
commitf6c6449f9546f6acc2c8cca7384d74e743dc9865
tree06c3d62e8c750cfd72e3d2a44637acc027b39b0a
parentd33209d7587bd2bbea9fe1c95e6e26c63541b8c5
tools: Fix math.h breakage

Commit a6fa1762fed1 ("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