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

📄 smplock.h

📁 嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计 AD接口实验 CAN总线通信实验 GPS通信实验 Linux内核移植与编译实验 IC卡读写实验 SD驱动使
💻 H
字号:
#ifndef __ASM_CRIS_SMPLOCK_H#define __ASM_CRIS_SMPLOCK_H/* * This file is subject to the terms and conditions of the GNU General Public * License.  See the file "COPYING" in the main directory of this archive * for more details. */#include <linux/config.h>#ifndef CONFIG_SMP#define lock_kernel()                           do { } while(0)#define unlock_kernel()                         do { } while(0)#define release_kernel_lock(task, cpu, depth)   ((depth) = 1)#define reacquire_kernel_lock(task, cpu, depth) do { } while(0)#else#error "We do not support SMP on CRIS"#endif#endif

⌨️ 快捷键说明

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