*参照元 [#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]


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS