Dan Williams 4e4f00a9b5 x86, dax, libnvdimm: remove wb_cache_pmem() indirection
With all handling of the CONFIG_ARCH_HAS_PMEM_API case being moved to
libnvdimm and the pmem driver directly we do not need to provide global
wrappers and fallbacks in the CONFIG_ARCH_HAS_PMEM_API=n case. The pmem
driver will simply not link to arch_wb_cache_pmem() in that case.  Same
as before, pmem flushing is only defined for x86_64, via
clean_cache_range(), but it is straightforward to add other archs in the
future.

arch_wb_cache_pmem() is an exported function since the pmem module needs
to find it, but it is privately declared in drivers/nvdimm/pmem.h because
there are no consumers outside of the pmem driver.

Cc: <x86@kernel.org>
Cc: Jan Kara <jack@suse.cz>
Cc: Jeff Moyer <jmoyer@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Oliver O'Halloran <oohall@gmail.com>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2017-06-15 14:35:24 -07:00
..
2016-12-15 13:49:34 -08:00
2017-03-30 09:37:20 +02:00
2016-07-27 11:35:37 -07:00
2014-12-11 11:35:02 +01:00
2015-05-28 15:31:53 +02:00
2015-10-21 11:17:32 +02:00
2015-04-24 15:36:55 +02:00
2017-03-27 08:56:13 +02:00
2016-01-12 12:17:28 +01:00
2015-07-31 13:31:10 +02:00
2017-05-21 21:39:58 +02:00
2016-12-17 12:29:56 +01:00
2014-02-27 08:07:39 -08:00
2017-03-07 08:28:00 +01:00
2015-12-19 11:53:40 +01:00
2015-05-19 15:47:30 +02:00
2016-01-30 11:22:17 +01:00
2016-11-01 07:47:55 +01:00
2016-06-16 00:04:31 +02:00
2015-07-31 13:31:10 +02:00
2017-03-29 12:06:28 -04:00
2017-04-17 12:52:22 -04:00
2016-06-16 00:04:31 +02:00
2015-05-19 15:47:30 +02:00