Commit f3d7072
cxl/region: Simplify cxl_region_nid()
The node ID of the region can be gotten via resource start address
directly. This simplifies the implementation of cxl_region_nid().
Signed-off-by: Huang Ying <[email protected]>
Suggested-by: Alison Schofield <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: Dave Jiang <[email protected]>
Cc: Bharata B Rao <[email protected]>
Cc: Alistair Popple <[email protected]>
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Vishal Verma <[email protected]>
Cc: Ira Weiny <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Dave Jiang <[email protected]>1 parent 643e8e3 commit f3d7072
1 file changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2309 | 2309 | | |
2310 | 2310 | | |
2311 | 2311 | | |
2312 | | - | |
2313 | | - | |
| 2312 | + | |
2314 | 2313 | | |
2315 | 2314 | | |
2316 | | - | |
2317 | | - | |
| 2315 | + | |
| 2316 | + | |
2318 | 2317 | | |
2319 | | - | |
2320 | | - | |
| 2318 | + | |
2321 | 2319 | | |
2322 | 2320 | | |
2323 | 2321 | | |
| |||
0 commit comments