x86: constify function pointer tables
authorJan Engelhardt <jengelh@computergmbh.de>
Wed, 30 Jan 2008 12:33:32 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:32 +0000 (13:33 +0100)
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/proc.c
arch/x86/kernel/setup_64.c

index 3900e46d66db4c91ea8b898504af963dc3ff4df4..028213260148d62b75f6d1804aa0977cfec6395f 100644 (file)
@@ -188,7 +188,7 @@ static void *c_next(struct seq_file *m, void *v, loff_t *pos)
 static void c_stop(struct seq_file *m, void *v)
 {
 }
-struct seq_operations cpuinfo_op = {
+const struct seq_operations cpuinfo_op = {
        .start  = c_start,
        .next   = c_next,
        .stop   = c_stop,
index f84e2662f1ca5b92181c52a03fc4360905a4d189..116687ade1807fd271287b707c7f8e4bdbbb6c3e 100644 (file)
@@ -1251,7 +1251,7 @@ static void c_stop(struct seq_file *m, void *v)
 {
 }
 
-struct seq_operations cpuinfo_op = {
+const struct seq_operations cpuinfo_op = {
        .start = c_start,
        .next = c_next,
        .stop = c_stop,