diff options
author | Rae Moar <rmoar@google.com> | 2023-12-13 19:44:16 +0000 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-12-18 13:21:15 -0700 |
commit | 69dfdce1c5161a37a14720e5f6f62a36e387aa33 (patch) | |
tree | 82957b0e25bcdb770c7c87c036a7e7dd80626ba8 /include/linux/ptr_ring.h | |
parent | 6eb0ea28c8e80ead03f08cf8cbdacf08d3073bd6 (diff) |
kunit: move KUNIT_TABLE out of INIT_DATA
Alter the linker section of KUNIT_TABLE to move it out of INIT_DATA and
into DATA_DATA.
Data for KUnit tests does not need to be in the init section.
In order to run tests again after boot the KUnit data cannot be labeled as
init data as the kernel could write over it.
Add a KUNIT_INIT_TABLE in the next patch for KUnit tests that test init
data/functions.
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Rae Moar <rmoar@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'include/linux/ptr_ring.h')
0 files changed, 0 insertions, 0 deletions