On Friday 26 June 2015 07:30:49 Paul Osmialowski wrote: > ENDPROC(cpu_kinetis_do_idle) > > But... what about the rest of this hypothetical proc_kinetis.S file? > > It would be a lot of code duplication with proc-v7m.S I think. >
I doubt that the Kinetis has a custom version of the CPU core. Are you sure that not all Cortex-M4 need this? As long as the idle implementation depends only on the CPU core type, it's easy to just define multiple .proc.info.init entries in the same file, like we do in proc-v7.S. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/