summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/ds_selftest.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/ds_selftest.c')
-rw-r--r--arch/x86/kernel/ds_selftest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/ds_selftest.c b/arch/x86/kernel/ds_selftest.c
index e5a263c8a14c..e1ba5101b576 100644
--- a/arch/x86/kernel/ds_selftest.c
+++ b/arch/x86/kernel/ds_selftest.c
@@ -87,7 +87,7 @@ static int ds_selftest_bts_read(struct bts_tracer *tracer,
/* Now to the test itself. */
for (at = from; (void *)at < to; at += trace->ds.size) {
struct bts_struct bts;
- size_t index;
+ unsigned long index;
int error;
if (((void *)at - trace->ds.begin) % trace->ds.size) {
OpenPOWER on IntegriCloud