aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-03-13 07:02:08 -0400
committerIngo Molnar <mingo@elte.hu>2009-03-13 07:02:08 -0400
commit79258a354e0c69be94ae2871809a195bf4a647b1 (patch)
tree478c9331466e4abf32d4a49a9dfae89d924b2e83 /arch/x86
parente9a22d1fb94050b7d600019c32e6b672d539054b (diff)
x86, bts: detect size of DS fields, fix
Impact: build fix One usage site was missed in the sizeof_field -> sizeof_ptr_field rename. Cc: Markus Metzger <markus.t.metzger@intel.com> LKML-Reference: <20090313104218.A30096@sedona.ch.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/ds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/ds.c b/arch/x86/kernel/ds.c
index 7363e01ba082..5fd53333c1df 100644
--- a/arch/x86/kernel/ds.c
+++ b/arch/x86/kernel/ds.c
@@ -983,7 +983,7 @@ ds_configure(const struct ds_configuration *cfg,
983 printk("bts/pebs record: %u/%u bytes\n", 983 printk("bts/pebs record: %u/%u bytes\n",
984 ds_cfg.sizeof_rec[ds_bts], ds_cfg.sizeof_rec[ds_pebs]); 984 ds_cfg.sizeof_rec[ds_bts], ds_cfg.sizeof_rec[ds_pebs]);
985 985
986 WARN_ON_ONCE(MAX_SIZEOF_DS < (12 * ds_cfg.sizeof_field)); 986 WARN_ON_ONCE(MAX_SIZEOF_DS < (12 * ds_cfg.sizeof_ptr_field));
987} 987}
988 988
989void __cpuinit ds_init_intel(struct cpuinfo_x86 *c) 989void __cpuinit ds_init_intel(struct cpuinfo_x86 *c)