On Thu, Jan 27, 2011 at 06:14:56PM +0000, Catalin Marinas wrote: > On 17 January 2011 19:24, Russell King - ARM Linux > <linux@xxxxxxxxxxxxxxxx> wrote: > > Rather than turning off CPU domain switching when the build architecture > > includes ARMv6K, thereby causing problems for ARMv6-supporting kernels, > > turn it on when it's required to support a CPU architecture. > > (sorry, I'm well behind list messages, didn't reply earlier) > > Does it mean that we get domains enabled even for ARMv7 when ARMv6 is > built in the same kernel? The side effect is that user read-only > addresses are writable by the kernel and SWP emulation no longer > works. It means that a kernel with ARMv6 through to ARMv7 will have CPU domains enabled. So maybe we want: config CPU_32v6 select CPU_USE_DOMAINS if !CPU_V6K && MMU instead? -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html