⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 current.h

📁 Linux Kernel 2.6.9 for OMAP1710
💻 H
字号:
/*  * Copyright (C) 2000 Jeff Dike (jdike@karaya.com) * Licensed under the GPL */#ifndef __UM_CURRENT_H#define __UM_CURRENT_H#ifndef __ASSEMBLY__struct thread_info;#include "linux/config.h"#include "asm/page.h"#define CURRENT_THREAD(dummy) (((unsigned long) &dummy) & \			        (PAGE_MASK << CONFIG_KERNEL_STACK_ORDER))#define current_thread \	({ int dummy; ((struct thread_info *) CURRENT_THREAD(dummy)); })#define current (current_thread->task)#endif /* __ASSEMBLY__ */#endif/* * Overrides for Emacs so that we follow Linus's tabbing style. * Emacs will notice this stuff at the end of the file and automatically * adjust the settings for this buffer only.  This must remain at the end * of the file. * --------------------------------------------------------------------------- * Local variables: * c-file-style: "linux" * End: */

⌨️ 快捷键说明

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