18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * This includes functions that are meant to live entirely in .rodata
48c2ecf20Sopenharmony_ci * (via objcopy tricks), to validate the non-executability of .rodata.
58c2ecf20Sopenharmony_ci */
68c2ecf20Sopenharmony_ci#include "lkdtm.h"
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_civoid noinstr lkdtm_rodata_do_nothing(void)
98c2ecf20Sopenharmony_ci{
108c2ecf20Sopenharmony_ci	/* Does nothing. We just want an architecture agnostic "return". */
118c2ecf20Sopenharmony_ci}
12