mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
Commit 98e1385ef2
("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>
14 lines
247 B
C
14 lines
247 B
C
#ifndef _LINUX_LOCKDEP_H
|
|
#define _LINUX_LOCKDEP_H
|
|
|
|
#include <linux/spinlock.h>
|
|
|
|
struct lock_class_key {
|
|
unsigned int a;
|
|
};
|
|
|
|
static inline void lockdep_set_class(spinlock_t *lock,
|
|
struct lock_class_key *key)
|
|
{
|
|
}
|
|
#endif /* _LINUX_LOCKDEP_H */
|