From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pankaj Gupta Subject: Re: [Qemu-devel] [RFC 1/2] pmem: Move reusable code to base header files Date: Thu, 12 Oct 2017 17:27:28 -0400 (EDT) Message-ID: <1893461099.19940340.1507843648978.JavaMail.zimbra@redhat.com> References: <20171012155027.3277-1-pagupta@redhat.com> <20171012155027.3277-2-pagupta@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Kevin Wolf , Haozhong Zhang , Jan Kara , Xiao Guangrong , KVM list , David Hildenbrand , linux-nvdimm , Ross Zwisler , linux-kernel@vger.kernel.org, Qemu Developers , Linux MM , Stefan Hajnoczi , Paolo Bonzini , Nitesh Narayan Lal To: Dan Williams Return-path: In-Reply-To: Sender: owner-linux-mm@kvack.org List-Id: kvm.vger.kernel.org > > On Thu, Oct 12, 2017 at 8:50 AM, Pankaj Gupta wrote: > > This patch moves common code to base header files > > so that it can be used for both ACPI pmem and VIRTIO pmem > > drivers. More common code needs to be moved out in future > > based on functionality required for virtio_pmem driver and > > coupling of code with existing ACPI pmem driver. > > > > Signed-off-by: Pankaj Gupta > [..] > > diff --git a/include/linux/pmem_common.h b/include/linux/pmem_common.h > > new file mode 100644 > > index 000000000000..e2e718c74b3f > > --- /dev/null > > +++ b/include/linux/pmem_common.h > > This should be a common C file, not a header. Sure! will create a common C file to put all the common code there. > > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org