diff options
author | Jan Beulich <jbeulich@novell.com> | 2007-10-17 12:04:37 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@inhelltoy.tec.linutronix.de> | 2007-10-17 14:16:08 -0400 |
commit | 121d7bf5a246d282ba91234d03a4edf9ccc9c940 (patch) | |
tree | ea7c5e9da9b3a09e8cc482eab5039986056b841f /arch/x86/kernel/setup_64.c | |
parent | df5ddf620e101f6c7f968c71b327ded16a90ca03 (diff) |
x86: misc. constifications
Miscellaneous x86 stuff that can live in .rodata.
[ tglx: arch/x86 adaptation ]
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/setup_64.c')
-rw-r--r-- | arch/x86/kernel/setup_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index 8159bf0be17a..5b5e0781d5b6 100644 --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c | |||
@@ -968,7 +968,7 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
968 | * applications want to get the raw CPUID data, they should access | 968 | * applications want to get the raw CPUID data, they should access |
969 | * /dev/cpu/<cpu_nr>/cpuid instead. | 969 | * /dev/cpu/<cpu_nr>/cpuid instead. |
970 | */ | 970 | */ |
971 | static char *x86_cap_flags[] = { | 971 | static const char *const x86_cap_flags[] = { |
972 | /* Intel-defined */ | 972 | /* Intel-defined */ |
973 | "fpu", "vme", "de", "pse", "tsc", "msr", "pae", "mce", | 973 | "fpu", "vme", "de", "pse", "tsc", "msr", "pae", "mce", |
974 | "cx8", "apic", NULL, "sep", "mtrr", "pge", "mca", "cmov", | 974 | "cx8", "apic", NULL, "sep", "mtrr", "pge", "mca", "cmov", |
@@ -1022,7 +1022,7 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
1022 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 1022 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
1023 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 1023 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
1024 | }; | 1024 | }; |
1025 | static char *x86_power_flags[] = { | 1025 | static const char *const x86_power_flags[] = { |
1026 | "ts", /* temperature sensor */ | 1026 | "ts", /* temperature sensor */ |
1027 | "fid", /* frequency id control */ | 1027 | "fid", /* frequency id control */ |
1028 | "vid", /* voltage id control */ | 1028 | "vid", /* voltage id control */ |