diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 11:35:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 11:35:20 -0400 |
commit | 39b2f8656e2af4d5d490ce6e33e4ba229cda3e33 (patch) | |
tree | f019abc77f2672ebfcf4635b36606f3ef0def342 /arch/x86/kernel | |
parent | df8edfa9af5b2160549ed1a79b72e3ed13b6c7e2 (diff) | |
parent | 147ea09119e45caf2e8bf57c9e54cc930ccfeda9 (diff) |
Merge branch 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 debug update from Ingo Molnar:
"Two small changes: a documentation update and a constification"
* 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86, early-printk: Update earlyprintk documentation (and kill x86 copy)
x86: Constify a few items
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/amd_nb.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/perf_event_knc.c | 4 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/perf_event_p6.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/amd_nb.c b/arch/x86/kernel/amd_nb.c index aadf3359e2a7..3684129be947 100644 --- a/arch/x86/kernel/amd_nb.c +++ b/arch/x86/kernel/amd_nb.c | |||
@@ -24,7 +24,7 @@ const struct pci_device_id amd_nb_misc_ids[] = { | |||
24 | }; | 24 | }; |
25 | EXPORT_SYMBOL(amd_nb_misc_ids); | 25 | EXPORT_SYMBOL(amd_nb_misc_ids); |
26 | 26 | ||
27 | static struct pci_device_id amd_nb_link_ids[] = { | 27 | static const struct pci_device_id amd_nb_link_ids[] = { |
28 | { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_15H_NB_F4) }, | 28 | { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_15H_NB_F4) }, |
29 | {} | 29 | {} |
30 | }; | 30 | }; |
diff --git a/arch/x86/kernel/cpu/perf_event_knc.c b/arch/x86/kernel/cpu/perf_event_knc.c index 4b7731bf23a8..838fa8772c62 100644 --- a/arch/x86/kernel/cpu/perf_event_knc.c +++ b/arch/x86/kernel/cpu/perf_event_knc.c | |||
@@ -17,7 +17,7 @@ static const u64 knc_perfmon_event_map[] = | |||
17 | [PERF_COUNT_HW_BRANCH_MISSES] = 0x002b, | 17 | [PERF_COUNT_HW_BRANCH_MISSES] = 0x002b, |
18 | }; | 18 | }; |
19 | 19 | ||
20 | static __initconst u64 knc_hw_cache_event_ids | 20 | static const u64 __initconst knc_hw_cache_event_ids |
21 | [PERF_COUNT_HW_CACHE_MAX] | 21 | [PERF_COUNT_HW_CACHE_MAX] |
22 | [PERF_COUNT_HW_CACHE_OP_MAX] | 22 | [PERF_COUNT_HW_CACHE_OP_MAX] |
23 | [PERF_COUNT_HW_CACHE_RESULT_MAX] = | 23 | [PERF_COUNT_HW_CACHE_RESULT_MAX] = |
@@ -284,7 +284,7 @@ static struct attribute *intel_knc_formats_attr[] = { | |||
284 | NULL, | 284 | NULL, |
285 | }; | 285 | }; |
286 | 286 | ||
287 | static __initconst struct x86_pmu knc_pmu = { | 287 | static const struct x86_pmu knc_pmu __initconst = { |
288 | .name = "knc", | 288 | .name = "knc", |
289 | .handle_irq = knc_pmu_handle_irq, | 289 | .handle_irq = knc_pmu_handle_irq, |
290 | .disable_all = knc_pmu_disable_all, | 290 | .disable_all = knc_pmu_disable_all, |
diff --git a/arch/x86/kernel/cpu/perf_event_p6.c b/arch/x86/kernel/cpu/perf_event_p6.c index 4820c232a0b9..b1e2fe115323 100644 --- a/arch/x86/kernel/cpu/perf_event_p6.c +++ b/arch/x86/kernel/cpu/perf_event_p6.c | |||
@@ -19,7 +19,7 @@ static const u64 p6_perfmon_event_map[] = | |||
19 | 19 | ||
20 | }; | 20 | }; |
21 | 21 | ||
22 | static u64 p6_hw_cache_event_ids | 22 | static const u64 __initconst p6_hw_cache_event_ids |
23 | [PERF_COUNT_HW_CACHE_MAX] | 23 | [PERF_COUNT_HW_CACHE_MAX] |
24 | [PERF_COUNT_HW_CACHE_OP_MAX] | 24 | [PERF_COUNT_HW_CACHE_OP_MAX] |
25 | [PERF_COUNT_HW_CACHE_RESULT_MAX] = | 25 | [PERF_COUNT_HW_CACHE_RESULT_MAX] = |