Message ID | 20130211174731.GO9801@mudshark.cambridge.arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Feb 11, 2013 at 05:47:31PM +0000, Will Deacon wrote: > On Mon, Feb 11, 2013 at 05:27:47PM +0000, Olof Johansson wrote: > > On Mon, Feb 04, 2013 at 01:55:31PM +0000, Will Deacon wrote: > > > NOTE: I'm not suggesting you pull this one as it stands -- see below! > > > > > > This is the last batch from me (Marc is dealing with vgic and virtual > > > timers) and introduces support for mach-virt. This depends on: > > > > > > - for-arm-soc/arch-timers (third pull request in this series) > > > - for-rmk/virt/psci (already pulled) > > > - irqchip/gic-vic-move (an arm-soc branch) > > > > > > As a result, the diffstat is atrocious so it would be better if you > > > could create a branch merging the above dependendies, which I could > > > rebase onto (there's actually only two patches here). > > > > So, while the diffstats below look pretty bad, the actual new code is small and > > easy to get an overview when I pull them in. > > > > I've staged this in a separate branch (next/virt), that pulls in all the > > dependencies first, then 3/4 and 4/4. It merges cleanly into our for-next as > > well, so this is looking great. It needs a fixup for sys_timer setup before I > > actually push it out merged though, so please send a patch over. > > Great, thanks Olof. I've included a small patch to fix the sys_timer stuff > below. Thanks, applied and I have now merged mach/virt into for-next. -Olof
diff --git a/arch/arm/mach-virt/virt.c b/arch/arm/mach-virt/virt.c index f6ed9cf..31666f6 100644 --- a/arch/arm/mach-virt/virt.c +++ b/arch/arm/mach-virt/virt.c @@ -43,15 +43,11 @@ static const char *virt_dt_match[] = { NULL }; -static struct sys_timer virt_timer = { - .init = virt_timer_init, -}; - extern struct smp_operations virt_smp_ops; DT_MACHINE_START(VIRT, "Dummy Virtual Machine") .init_irq = irqchip_init, - .timer = &virt_timer, + .init_time = virt_timer_init, .init_machine = virt_init, .smp = smp_ops(virt_smp_ops), .dt_compat = virt_dt_match,