ChangeSet 1.2231.1.168, 2005/03/28 20:03:09-08:00, [EMAIL PROTECTED]
[PATCH] small warning fix for gcc4
Eliminates "warning: type qualifiers ignored on function return type".
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
cpuset.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Nru a/include/linux/cpuset.h b/include/linux/cpuset.h
--- a/include/linux/cpuset.h 2005-03-28 21:43:33 -08:00
+++ b/include/linux/cpuset.h 2005-03-28 21:43:33 -08:00
@@ -34,7 +34,7 @@
static inline void cpuset_fork(struct task_struct *p) {}
static inline void cpuset_exit(struct task_struct *p) {}
-static inline const cpumask_t cpuset_cpus_allowed(struct task_struct *p)
+static inline cpumask_t cpuset_cpus_allowed(struct task_struct *p)
{
return cpu_possible_map;
}
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html