softirq.h

来自「this SRC packet is the headfiles that MI」· C头文件 代码 · 共 24 行

H
24
字号
#ifndef _ASM_IA64_SOFTIRQ_H#define _ASM_IA64_SOFTIRQ_H/* * Copyright (C) 1998-2001 Hewlett-Packard Co * Copyright (C) 1998-2001 David Mosberger-Tang <davidm@hpl.hp.com> */#include <asm/hardirq.h>#define __local_bh_enable()	do { barrier(); local_bh_count()--; } while (0)#define local_bh_disable()	do { local_bh_count()++; barrier(); } while (0)#define local_bh_enable()								\do {											\	__local_bh_enable();								\	if (__builtin_expect(local_softirq_pending(), 0) && local_bh_count() == 0)	\		do_softirq();								\} while (0)#define in_softirq()		(local_bh_count() != 0)#endif /* _ASM_IA64_SOFTIRQ_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?