]> www.infradead.org Git - users/willy/pagecache.git/commit
tools: Add kernel stubs needed for rosebush
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 21 Jun 2024 18:55:35 +0000 (14:55 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 25 Jun 2024 20:58:55 +0000 (16:58 -0400)
commita3f9ba5b5082f7f993d3e256e61fb18428202fd1
tree76d4e9c1b070e98f32e58b0bcae01bb77c11119d
parent4545981f33be5f04ee8dd43397ea29c37337dd03
tools: Add kernel stubs needed for rosebush

Various parts of the kernel API didn't need to exist before, so add
them:

 - spin_trylock()
 - DECLARE_FLEX_ARRAY
 - vmalloc
 - __vmalloc_node
 - kvmalloc
 - kvfree_rcu_mightsleep

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
tools/include/linux/compiler.h
tools/include/linux/compiler_types.h
tools/include/linux/spinlock.h
tools/include/linux/stddef.h [new file with mode: 0644]
tools/testing/radix-tree/linux/kernel.h
tools/testing/radix-tree/linux/vmalloc.h [new file with mode: 0644]