Commit:     089e34b60033863549fbe561d31ac8c778a20e7f
Parent:     918d3f90e8d5657491024f64427e9a5ea632d284
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 29 16:49:04 2006 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Sat Dec 30 10:56:43 2006 -0800

    [PATCH] cpuset procfs warning fix
    fs/proc/base.c:1869: warning: initialization discards qualifiers from 
pointer target type
    fs/proc/base.c:2150: warning: initialization discards qualifiers from 
pointer target type
    Cc: Paul Jackson <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 include/linux/cpuset.h |    2 +-
 kernel/cpuset.c        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h
index 826b15e..fd40441 100644
--- a/include/linux/cpuset.h
+++ b/include/linux/cpuset.h
@@ -55,7 +55,7 @@ extern int cpuset_excl_nodes_overlap(const struct task_struct 
 extern int cpuset_memory_pressure_enabled;
 extern void __cpuset_memory_pressure_bump(void);
-extern const struct file_operations proc_cpuset_operations;
+extern struct file_operations proc_cpuset_operations;
 extern char *cpuset_task_status_allowed(struct task_struct *task, char 
 extern void cpuset_lock(void);
diff --git a/kernel/cpuset.c b/kernel/cpuset.c
index 232aed2..6b05dc6 100644
--- a/kernel/cpuset.c
+++ b/kernel/cpuset.c
@@ -2656,7 +2656,7 @@ static int cpuset_open(struct inode *inode, struct file 
        return single_open(file, proc_cpuset_show, pid);
-const struct file_operations proc_cpuset_operations = {
+struct file_operations proc_cpuset_operations = {
        .open           = cpuset_open,
        .read           = seq_read,
        .llseek         = seq_lseek,
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to