index 72498c8fdbc6d79aae432ce4e4640b890e23e804..fb2e15cecbb51939cf1a8f50a9cb8490fa1f64ce 100644 (file)
/**
- * 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
static u32 prev_time_s = 0;
static s32 next_read_time_ns = 0;
- if (smp_processor_id() != 0) {
+ if (!on_primary_core()) {
return 0;
}