Squash commits for public release
This commit is contained in:
11
kernel/include/libkern/platform.h
Normal file
11
kernel/include/libkern/platform.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef _KERNEL_LIBKERN_PLATFORM_H
|
||||
#define _KERNEL_LIBKERN_PLATFORM_H
|
||||
|
||||
#include <libkern/c_attrs.h>
|
||||
|
||||
ALWAYS_INLINE int ctz32(unsigned int val)
|
||||
{
|
||||
return __builtin_ctz(val);
|
||||
}
|
||||
|
||||
#endif // _KERNEL_LIBKERN_PLATFORM_H
|
||||
Reference in New Issue
Block a user