]> 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)
commitb107b4f91ec38907220d7538151a915be830af4f
tree06c3d62e8c750cfd72e3d2a44637acc027b39b0a
parent50db792854650440742adc45d42665862f88a591
tools: Fix math.h breakage

Commit 13d0ffb34d29 ("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