I like the intent behind this, but not the implementation.I think the right approach is to keep the defaults in linux/pmem.hand simply not set CONFIG_ARCH_HAS_PMEM_API for x86-32.