On Thu, Jan 23, 2014 at 7:50 AM, Baruch Siach <[email protected]> wrote:
> In xtensa coprocessors may exist without coprocessor context, i.e. they cannot > be disabled/enabled. In this case the RSR_CPENABLE/WSR_CPENABLE are undefined, > thus breaking the build. Fix the build by adding dummy versions of > enable_cp/disable_cp in this case. > > Reported-by: Fengguang Wu <[email protected]> > Signed-off-by: Baruch Siach <[email protected]> Patch applied for fixes, but I really don't like this compile-time thing. It'd be better if your Xtensa code would adjust to different hardware at runtime rather than compile time. This is the overall kernel design pattern these days AFICT. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
