*参照元 [#sd26617b] #backlinks *説明 [#f1d31484] -パス: [[linux-2.6.33/include/linux/hardirq.h]] -FIXME: これは何? --説明 **引数 [#wf0635a7] - -- **返り値 [#r9237f67] - -- **参考 [#b09f7dfa] *実装 [#ocb46275] /* * Are we running in atomic context? WARNING: this macro cannot * always detect atomic context; in particular, it cannot know about * held spinlocks in non-preemptible kernels. Thus it should not be * used in the general case to determine whether sleeping is possible. * Do not use in_atomic() in driver code. */ #define in_atomic() ((preempt_count() & ~PREEMPT_ACTIVE) != PREEMPT_INATOMIC_BASE) - --[[linux-2.6.33/preempt_count()]] - --[[linux-2.6.33/PREEMPT_ACTIVE]] - --[[linux-2.6.33/PREEMPT_INATOMIC_BASE]] *コメント [#o019736d]