diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-30 07:33:32 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:32 -0500 |
commit | 8a45eb31d832af5441703bf447c97f786ff850a4 (patch) | |
tree | fd27f2d51e41665e1c2d16a89c2a96ffa122276d | |
parent | 42d545c9a4c0d3faeab658a40165c3da2dda91b2 (diff) |
x86: constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | arch/x86/kernel/cpu/proc.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/setup_64.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/proc.c b/arch/x86/kernel/cpu/proc.c index 3900e46d66db..028213260148 100644 --- a/arch/x86/kernel/cpu/proc.c +++ b/arch/x86/kernel/cpu/proc.c | |||
@@ -188,7 +188,7 @@ static void *c_next(struct seq_file *m, void *v, loff_t *pos) | |||
188 | static void c_stop(struct seq_file *m, void *v) | 188 | static void c_stop(struct seq_file *m, void *v) |
189 | { | 189 | { |
190 | } | 190 | } |
191 | struct seq_operations cpuinfo_op = { | 191 | const struct seq_operations cpuinfo_op = { |
192 | .start = c_start, | 192 | .start = c_start, |
193 | .next = c_next, | 193 | .next = c_next, |
194 | .stop = c_stop, | 194 | .stop = c_stop, |
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index f84e2662f1ca..116687ade180 100644 --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c | |||
@@ -1251,7 +1251,7 @@ static void c_stop(struct seq_file *m, void *v) | |||
1251 | { | 1251 | { |
1252 | } | 1252 | } |
1253 | 1253 | ||
1254 | struct seq_operations cpuinfo_op = { | 1254 | const struct seq_operations cpuinfo_op = { |
1255 | .start = c_start, | 1255 | .start = c_start, |
1256 | .next = c_next, | 1256 | .next = c_next, |
1257 | .stop = c_stop, | 1257 | .stop = c_stop, |