summaryrefslogtreecommitdiffstats
path: root/kernel/cpuset.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-12-30 01:49:04 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-30 19:56:43 +0100
commit089e34b60033863549fbe561d31ac8c778a20e7f (patch)
treeaea34fde97b91231626f54440390456e1bd3e0aa /kernel/cpuset.c
parent[PATCH] Buglet in vmscan.c (diff)
downloadlinux-089e34b60033863549fbe561d31ac8c778a20e7f.tar.xz
linux-089e34b60033863549fbe561d31ac8c778a20e7f.zip
[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 <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--kernel/cpuset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c
index 232aed2b10f9..6b05dc69c959 100644
--- a/kernel/cpuset.c
+++ b/kernel/cpuset.c
@@ -2656,7 +2656,7 @@ static int cpuset_open(struct inode *inode, struct file *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,