Re: [PATCH 2/3] ipc: allow compat IPC version field parsing if!ARCH_WANT_OLD_COMPAT_IPC

From: Will Deacon
Date: Fri Jul 13 2012 - 06:40:01 EST


On Thu, Jul 12, 2012 at 09:59:49AM +0100, Andrew Morton wrote:
> > >
> > > Could we do this purely in Kconfig? Add a new
> > > CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION and always set it true if
> > > CONFIG_ARCH_WANT_OLD_COMPAT_IPC?

[...]

> It would be best to change both as a separate patch.

Ok, here's the patch. It's messier than I originally anticipated since more
architectures were defining __ARCH_WANT_IPC_PARSE_VERSION than I thought.
The only conditional define that I spotted was for x86 (#if CONFIG_X86_32)
but I've not been able to test on architectures other than ARM.

Cheers,

Will

---8<---