mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 22:42:10 +00:00
radix tree test suite: Remove duplicate bitops code
By adding __set_bit and __clear_bit to the tools include directory, we can share the bitops code. This reveals an include loop between kernel.h, log2.h, bitmap.h and bitops.h. Break it the same way as the kernel does; by moving the kernel.h include from bitops.h to bitmap.h. Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
This commit is contained in:
parent
35534c869c
commit
c68a2aab33
14 changed files with 8 additions and 501 deletions
|
@ -7,8 +7,10 @@
|
|||
#include <stddef.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "../../include/linux/compiler.h"
|
||||
#include "../../include/linux/err.h"
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/err.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/log2.h>
|
||||
#include "../../../include/linux/kconfig.h"
|
||||
|
||||
#ifdef BENCHMARK
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue