Chinaunix首页 | 论坛 | 博客
  • 博客访问: 428726
  • 博文数量: 123
  • 博客积分: 2686
  • 博客等级: 少校
  • 技术积分: 1349
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-23 22:11
文章分类
文章存档

2012年(3)

2011年(10)

2010年(100)

2009年(10)

我的朋友

分类: LINUX

2010-09-13 15:07:16

 

/**
 * runqueue_is_locked
 * @cpu: the processor in question.
 *
 * Returns true if the current cpu runqueue is locked.
 * This interface allows printk to be called with the runqueue lock
 * held and know whether or not it is OK to wake up the klogd.
 */

int runqueue_is_locked(int cpu)
{
    return raw_spin_is_locked(&cpu_rq(cpu)->lock);
}


阅读(633) | 评论(2) | 转发(0) |
0

上一篇:set for Interesting patch

下一篇:NOTE

给主人留下些什么吧!~~

chinaunix网友2010-09-13 22:10:09

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com

chinaunix网友2010-09-13 22:10:01

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com