diff options
Diffstat (limited to 'bootwrapper/c_start.c')
-rw-r--r-- | bootwrapper/c_start.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bootwrapper/c_start.c b/bootwrapper/c_start.c index 0678db3..a4f1729 100644 --- a/bootwrapper/c_start.c +++ b/bootwrapper/c_start.c @@ -72,7 +72,9 @@ void setup_gic_nonsecure(unsigned cluster_id, unsigned cpu_id) */ void kick(unsigned cpu_id, unsigned cluster_id, int secondary_cpus) { - int cpu_mask = (((1 << (secondary_cpus + 1)) - 1) & ~(1 << cpu_id)) << (cluster_id << 2); + int cpu_mask = + (((1 << (secondary_cpus + 1)) - + 1) & ~(1 << cpu_id)) << (cluster_id << 2); write32(VE_SYS_BASE + FLAGS_CLR, 0xffffffff); // clear the flags register write32(VE_SYS_BASE + FLAGS_SET, (unsigned)start); // set the start address in the flags register |