x86, pebs: fix PEBS record size configuration

Impact: fix DS hw enablement on 64-bit x86

Fix the PEBS record size in the DS configuration.

Reported-by: Stephane Eranian <eranian@googlemail.com>
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by Markus Metzger and committed by Ingo Molnar c4858ffc e5e8ca63

+8
+8
arch/x86/kernel/ds.c
··· 816 .sizeof_ds = sizeof(long) * 12, 817 .sizeof_field = sizeof(long), 818 .sizeof_rec[ds_bts] = sizeof(long) * 3, 819 .sizeof_rec[ds_pebs] = sizeof(long) * 10 820 }; 821 static const struct ds_configuration ds_cfg_64 = { 822 .sizeof_ds = 8 * 12, 823 .sizeof_field = 8, 824 .sizeof_rec[ds_bts] = 8 * 3, 825 .sizeof_rec[ds_pebs] = 8 * 10 826 }; 827 828 static inline void
··· 816 .sizeof_ds = sizeof(long) * 12, 817 .sizeof_field = sizeof(long), 818 .sizeof_rec[ds_bts] = sizeof(long) * 3, 819 + #ifdef __i386__ 820 .sizeof_rec[ds_pebs] = sizeof(long) * 10 821 + #else 822 + .sizeof_rec[ds_pebs] = sizeof(long) * 18 823 + #endif 824 }; 825 static const struct ds_configuration ds_cfg_64 = { 826 .sizeof_ds = 8 * 12, 827 .sizeof_field = 8, 828 .sizeof_rec[ds_bts] = 8 * 3, 829 + #ifdef __i386__ 830 .sizeof_rec[ds_pebs] = 8 * 10 831 + #else 832 + .sizeof_rec[ds_pebs] = 8 * 18 833 + #endif 834 }; 835 836 static inline void