diff options
Diffstat (limited to 'driver/gator_events_mali_t6xx_hw.c')
-rw-r--r-- | driver/gator_events_mali_t6xx_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/gator_events_mali_t6xx_hw.c b/driver/gator_events_mali_t6xx_hw.c index 72498c8..fb2e15c 100644 --- a/driver/gator_events_mali_t6xx_hw.c +++ b/driver/gator_events_mali_t6xx_hw.c @@ -1,5 +1,5 @@ /** - * Copyright (C) ARM Limited 2012. All rights reserved. + * Copyright (C) ARM Limited 2012-2013. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -608,7 +608,7 @@ static int read(int **buffer) static u32 prev_time_s = 0; static s32 next_read_time_ns = 0; - if (smp_processor_id() != 0) { + if (!on_primary_core()) { return 0; } |