diff options
author | Ira Weiny <[email protected]> | 2024-11-07 14:58:24 -0600 |
---|---|---|
committer | Dave Jiang <[email protected]> | 2024-11-08 09:40:16 -0700 |
commit | a90326c76bd684bdf0a4f2842ff987ad5c77ff11 (patch) | |
tree | 8ae5d344d3c981658f83b9243f4a23fa35037129 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 27fcfb416827b9e549d821317a9bd21d1abe6821 (diff) |
cxl/region: Refactor common create region code
create_pmem_region_store() and create_ram_region_store() are identical
with the exception of the region mode. With the addition of DC region
mode this would end up being 3 copies of the same code.
Refactor create_pmem_region_store() and create_ram_region_store() to use
a single common function to be used in subsequent DC code.
Suggested-by: Fan Ni <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Fan Ni <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Reviewed-by: Li Ming <[email protected]>
Reviewed-by: Alison Schofield <[email protected]>
Signed-off-by: Ira Weiny <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions