]> err.no Git - linux-2.6/blobdiff - include/linux/cpuset.h
[ARM] 2892/1: remove gcc workaround for direct access to absolute memory addresses
[linux-2.6] / include / linux / cpuset.h
index 1fe1c3ebad30d7ee8e9c9095802f6a3c1cefb624..24062a1dbf61e2674719eb24e36b0d1b062fa396 100644 (file)
@@ -24,6 +24,7 @@ void cpuset_update_current_mems_allowed(void);
 void cpuset_restrict_to_mems_allowed(unsigned long *nodes);
 int cpuset_zonelist_valid_mems_allowed(struct zonelist *zl);
 extern int cpuset_zone_allowed(struct zone *z, unsigned int __nocast gfp_mask);
+extern int cpuset_excl_nodes_overlap(const struct task_struct *p);
 extern struct file_operations proc_cpuset_operations;
 extern char *cpuset_task_status_allowed(struct task_struct *task, char *buffer);
 
@@ -54,6 +55,11 @@ static inline int cpuset_zone_allowed(struct zone *z,
        return 1;
 }
 
+static inline int cpuset_excl_nodes_overlap(const struct task_struct *p)
+{
+       return 1;
+}
+
 static inline char *cpuset_task_status_allowed(struct task_struct *task,
                                                        char *buffer)
 {