Re: [PATCH 2/6] x86: clean up conditional pmem includes

2015-08-07 Thread Ross Zwisler
On Thu, 2015-08-06 at 23:39 -0700, Christoph Hellwig wrote: > On Thu, Aug 06, 2015 at 11:43:16AM -0600, Ross Zwisler wrote: > > Prior to this change x86_64 used the pmem defines in > > arch/x86/include/asm/cacheflush.h, and UM used the default ones at the > > top of include/linux/pmem.h. The inclu

Re: [PATCH 2/6] x86: clean up conditional pmem includes

2015-08-06 Thread Christoph Hellwig
On Thu, Aug 06, 2015 at 11:43:16AM -0600, Ross Zwisler wrote: > Prior to this change x86_64 used the pmem defines in > arch/x86/include/asm/cacheflush.h, and UM used the default ones at the > top of include/linux/pmem.h. The inclusion or exclusion in pmem.h was > controlled by CONFIG_ARCH_HAS_PMEM

[PATCH 2/6] x86: clean up conditional pmem includes

2015-08-06 Thread Ross Zwisler
Prior to this change x86_64 used the pmem defines in arch/x86/include/asm/cacheflush.h, and UM used the default ones at the top of include/linux/pmem.h. The inclusion or exclusion in pmem.h was controlled by CONFIG_ARCH_HAS_PMEM_API, but the ones in cacheflush.h were controlled by ARCH_HAS_NOCACHE