diff options
author | Shivaprasad G Bhat <sbhat@linux.ibm.com> | 2024-01-27 21:57:00 +0300 |
---|---|---|
committer | Ira Weiny <ira.weiny@intel.com> | 2024-04-25 22:37:12 +0300 |
commit | dbc8fc9d6de17b618591d4d2a6227dee27fe0f51 (patch) | |
tree | 9504bf8909f31cc42a8c80caab201054bd3664a9 /drivers/nvdimm/bus.c | |
parent | ed30a4a51bb196781c8058073ea720133a65596f (diff) | |
download | linux-dbc8fc9d6de17b618591d4d2a6227dee27fe0f51.tar.xz |
powerpc/papr_scm: Move duplicate definitions to common header files
papr_scm and ndtest share common PDSM payload structs like
nd_papr_pdsm_health. Presently these structs are duplicated across
papr_pdsm.h and ndtest.h header files. Since 'ndtest' is essentially
arch independent and can run on platforms other than PPC64, a way
needs to be deviced to avoid redundancy and duplication of PDSM
structs in future.
So the patch proposes moving the PDSM header from arch/powerpc/include-
-/uapi/ to the generic include/uapi/linux directory. Also, there
are some #defines common between papr_scm and ndtest which are not
exported to the user space. So, move them to a header file which
can be shared across ndtest and papr_scm via newly introduced
include/linux/papr_scm.h.
Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Signed-off-by: Vaibhav Jain <vaibhav@linux.ibm.com>
Suggested-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Link: https://lore.kernel.org/r/170638176942.112443.2937254675538057083.stgit@ltcd48-lp2.aus.stglab.ibm.com
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Diffstat (limited to 'drivers/nvdimm/bus.c')
0 files changed, 0 insertions, 0 deletions