]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/cpuset.h
Merge branch 'work'
[linux-2.6-omap-h63xx.git] / include / linux / cpuset.h
index c472f972bd6d5f3f54a6e91352b28be617d0757b..3bc606927116c2b108848fb8f67f80a997dc3b50 100644 (file)
@@ -48,6 +48,9 @@ extern void __cpuset_memory_pressure_bump(void);
 extern struct file_operations proc_cpuset_operations;
 extern char *cpuset_task_status_allowed(struct task_struct *task, char *buffer);
 
+extern void cpuset_lock(void);
+extern void cpuset_unlock(void);
+
 #else /* !CONFIG_CPUSETS */
 
 static inline int cpuset_init_early(void) { return 0; }
@@ -93,6 +96,9 @@ static inline char *cpuset_task_status_allowed(struct task_struct *task,
        return buffer;
 }
 
+static inline void cpuset_lock(void) {}
+static inline void cpuset_unlock(void) {}
+
 #endif /* !CONFIG_CPUSETS */
 
 #endif /* _LINUX_CPUSET_H */