OpenCloudOS-Kernel/tools/testing/cxl/test
Dan Williams 270205be71 tools/testing/cxl: Use DEFINE_STATIC_SRCU()
Starting with commit:

95433f7263 ("srcu: Begin offloading srcu_struct fields to srcu_update")

...it is no longer possible to do:

static DEFINE_SRCU(x)

Switch to DEFINE_STATIC_SRCU(x) to fix:

tools/testing/cxl/test/mock.c:22:1: error: duplicate ‘static’
   22 | static DEFINE_SRCU(cxl_mock_srcu);
      | ^~~~~~

Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/168392709546.1135523.10424917245934547117.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2023-05-13 00:16:40 -07:00
..
Kbuild
cxl.c Merge branch 'for-6.3/cxl-rr-emu' into cxl/next 2023-02-14 16:06:10 -08:00
mem.c cxl/test: Add mock test for set_timestamp 2023-04-24 11:31:02 -07:00
mock.c tools/testing/cxl: Use DEFINE_STATIC_SRCU() 2023-05-13 00:16:40 -07:00
mock.h cxl/hdm: Create emulated cxl_hdm for devices that do not have HDM decoders 2023-02-14 15:45:21 -08:00