summaryrefslogtreecommitdiff
path: root/bootwrapper/c_start.c
diff options
context:
space:
mode:
authorDietmar Eggemann <dietmar.eggemann@arm.com>2012-05-15 11:40:25 +0100
committerDietmar Eggemann <dietmar.eggemann@arm.com>2012-05-23 12:44:36 +0100
commitedc6843a3a4ac02422bda79f8cfb6894c5d384df (patch)
treedeb8e147a41f3f4064925776d0e1031cf13cbce4 /bootwrapper/c_start.c
parent27f2efc606df7adbf4477e860c447debf20d4dd1 (diff)
GNU indent pass over C and header files.
Basically: $ for f in $(find . -name "*.[ch]"); do indent -linux $f; done Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Diffstat (limited to 'bootwrapper/c_start.c')
-rw-r--r--bootwrapper/c_start.c4
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