diff options
author | Ross Zwisler <ross.zwisler@linux.intel.com> | 2015-08-18 21:55:38 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2015-08-20 20:07:23 +0200 |
commit | 4a370df5534ef727cba9a9d74bf22e0609f91d6e (patch) | |
tree | fe9270a21acc4585eab196c7c7bbb9b1371c0172 /arch/tile/Makefile | |
parent | pmem: remove layer when calling arch_has_wmb_pmem() (diff) | |
download | linux-4a370df5534ef727cba9a9d74bf22e0609f91d6e.tar.xz linux-4a370df5534ef727cba9a9d74bf22e0609f91d6e.zip |
pmem, x86: clean up conditional pmem includes
Prior to this change x86_64 used the pmem defines in
arch/x86/include/asm/pmem.h, and UM used the default ones at the
top of include/linux/pmem.h. The inclusion or exclusion in linux/pmem.h
was controlled by CONFIG_ARCH_HAS_PMEM_API, but the ones in asm/pmem.h
were controlled by ARCH_HAS_NOCACHE_UACCESS.
Instead, control them both with CONFIG_ARCH_HAS_PMEM_API so that it's
clear that they are related and we don't run into the possibility where
they are both included or excluded. Also remove a bunch of stale
function prototypes meant for UM in asm/pmem.h - these just conflicted
with the inline defaults in linux/pmem.h and gave compile errors.
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/tile/Makefile')
0 files changed, 0 insertions, 0 deletions