Message ID | 20130212171217.GB13775@e106331-lin.cambridge.arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Feb 12, 2013 at 05:12:17PM +0000, Mark Rutland wrote: > [...] > > > So, things to be done here: > > 1. Fix the #else part of the code. > > 2. Fix the reported oops. > > I believe the patch below solves point 1. Nothing refers to smp_timer_broadcast > any more (as I've tested with git grep), so removing it shouldn't create any > additional problems. > > Russell, are you happy for me to drop this in the patch system? Yes, it might as well go into the devel-stable branch along with your other patches. Thanks.
On Tue, Feb 12, 2013 at 05:15:01PM +0000, Russell King - ARM Linux wrote: > On Tue, Feb 12, 2013 at 05:12:17PM +0000, Mark Rutland wrote: > > [...] > > > > > So, things to be done here: > > > 1. Fix the #else part of the code. > > > 2. Fix the reported oops. > > > > I believe the patch below solves point 1. Nothing refers to smp_timer_broadcast > > any more (as I've tested with git grep), so removing it shouldn't create any > > additional problems. > > > > Russell, are you happy for me to drop this in the patch system? > > Yes, it might as well go into the devel-stable branch along with your > other patches. Thanks. > Submitted as 7651/1. Thanks, Mark.
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index b7e3b50..ab9458d 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c @@ -480,8 +480,6 @@ void tick_broadcast(const struct cpumask *mask) { smp_cross_call(mask, IPI_TIMER); } -#else -#define smp_timer_broadcast NULL #endif static void broadcast_timer_set_mode(enum clock_event_mode mode,