X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=kernel%2Fcpuset.c;h=f382b0f775e15ca0d91600c796f746f11d159a72;hb=ecb658d387dc09f344b3d755e8674076072032c7;hp=6b05dc69c9597f900f46c02ff6acaff4e9768458;hpb=de9e957f12d09793aac7d44ee0f7987dc8019b94;p=powerpc.git diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 6b05dc69c9..f382b0f775 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c @@ -1540,7 +1540,7 @@ static const struct file_operations cpuset_file_operations = { .release = cpuset_file_release, }; -static struct inode_operations cpuset_dir_inode_operations = { +static const struct inode_operations cpuset_dir_inode_operations = { .lookup = simple_lookup, .mkdir = cpuset_mkdir, .rmdir = cpuset_rmdir, @@ -2656,7 +2656,7 @@ static int cpuset_open(struct inode *inode, struct file *file) return single_open(file, proc_cpuset_show, pid); } -struct file_operations proc_cpuset_operations = { +const struct file_operations proc_cpuset_operations = { .open = cpuset_open, .read = seq_read, .llseek = seq_lseek,