Message ID | 20130110120144.GB29952@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, 10 Jan 2013, Dave Martin wrote: > > +int __init bL_cluster_sync_init(void (*power_up_setup)(void)) > > The addition of the affinity level parameter for power_up_setup means > that this prototype is not correct. Indeed. > This is not a functional change, since that function is only called from > assembler anyway, but it will help avoid confusion. Fixed now, as well as the DCSCB usage. Nicolas
On Thu, Jan 10, 2013 at 02:04:02PM -0500, Nicolas Pitre wrote: > On Thu, 10 Jan 2013, Dave Martin wrote: > > > > +int __init bL_cluster_sync_init(void (*power_up_setup)(void)) > > > > The addition of the affinity level parameter for power_up_setup means > > that this prototype is not correct. > > Indeed. > > > This is not a functional change, since that function is only called from > > assembler anyway, but it will help avoid confusion. > > Fixed now, as well as the DCSCB usage. > > > Nicolas OK, thanks ---Dave
diff --git a/arch/arm/common/bL_entry.c b/arch/arm/common/bL_entry.c index 1ea4ec9..05cfdd3 100644 --- a/arch/arm/common/bL_entry.c +++ b/arch/arm/common/bL_entry.c @@ -245,7 +245,8 @@ int __bL_cluster_state(unsigned int cluster) extern unsigned long bL_power_up_setup_phys; -int __init bL_cluster_sync_init(void (*power_up_setup)(void)) +int __init bL_cluster_sync_init( + void (*power_up_setup)(unsigned int affinity_level)) { unsigned int i, j, mpidr, this_cluster; diff --git a/arch/arm/include/asm/bL_entry.h b/arch/arm/include/asm/bL_entry.h index 167394d..c9c29b2 100644 --- a/arch/arm/include/asm/bL_entry.h +++ b/arch/arm/include/asm/bL_entry.h @@ -183,7 +183,8 @@ void __bL_outbound_leave_critical(unsigned int cluster, int state); bool __bL_outbound_enter_critical(unsigned int this_cpu, unsigned int cluster); int __bL_cluster_state(unsigned int cluster); -int __init bL_cluster_sync_init(void (*power_up_setup)(void)); +int __init bL_cluster_sync_init( + void (*power_up_setup)(unsigned int affinity_level)); #endif /* ! __ASSEMBLY__ */ #endif