assert_spin_locked.h
来自「ocfs1.2.7 源码」· C头文件 代码 · 共 19 行
H
19 行
#ifndef KAPI_ASSERT_SPIN_LOCKED_H#define KAPI_ASSERT_SPIN_LOCKED_H/*http://linux.bkbits.net:8080/linux-2.5/gnupatch@420104cfKCNCOybFRuNN48-HuIMO6w * * We only care about checking the assertion in modern 2.6; we just want old * kernels to build without errors. We have to watch out for old jbd headers * that expose this api. (kernel namespace inconsistency 1, universe 0) */#include <linux/types.h>#include <linux/jbd.h>#ifndef assert_spin_locked#define assert_spin_locked(lock) do { (void)(lock); } while(0)#endif#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?