Re: [PATCH] pmem, nfit: Fix ARCH_MEMREMAP_PMEM handling on x86_32

2015-08-28 Thread Dan Williams
On Fri, Aug 28, 2015 at 5:16 PM, Toshi Kani wrote: > ARCH_MEMREMAP_PMEM is defined on x86_64 only per ARCH_HAS_PMEM_API. > The following compile error in __nfit_spa_map() was observed on > x86_32 as it refers ARCH_MEMREMAP_PMEM without #ifdef. > > drivers/acpi/nfit.c:1205:8: error:

[PATCH] pmem, nfit: Fix ARCH_MEMREMAP_PMEM handling on x86_32

2015-08-28 Thread Toshi Kani
ARCH_MEMREMAP_PMEM is defined on x86_64 only per ARCH_HAS_PMEM_API. The following compile error in __nfit_spa_map() was observed on x86_32 as it refers ARCH_MEMREMAP_PMEM without #ifdef. drivers/acpi/nfit.c:1205:8: error: 'ARCH_MEMREMAP_PMEM' undeclared (first use in this function) Fix it by

Re: [PATCH] pmem, nfit: Fix ARCH_MEMREMAP_PMEM handling on x86_32

2015-08-28 Thread Dan Williams
On Fri, Aug 28, 2015 at 5:16 PM, Toshi Kani toshi.k...@hp.com wrote: ARCH_MEMREMAP_PMEM is defined on x86_64 only per ARCH_HAS_PMEM_API. The following compile error in __nfit_spa_map() was observed on x86_32 as it refers ARCH_MEMREMAP_PMEM without #ifdef. drivers/acpi/nfit.c:1205:8: error:

[PATCH] pmem, nfit: Fix ARCH_MEMREMAP_PMEM handling on x86_32

2015-08-28 Thread Toshi Kani
ARCH_MEMREMAP_PMEM is defined on x86_64 only per ARCH_HAS_PMEM_API. The following compile error in __nfit_spa_map() was observed on x86_32 as it refers ARCH_MEMREMAP_PMEM without #ifdef. drivers/acpi/nfit.c:1205:8: error: 'ARCH_MEMREMAP_PMEM' undeclared (first use in this function) Fix it by