Merge tag 'mm-hotfixes-stable-2025-07-11-16-16' of git://git.kernel.org/pub/scm/linux...
[linux-2.6-block.git] / drivers / misc / lkdtm / rodata.c
... / ...
CommitLineData
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * This includes functions that are meant to live entirely in .rodata
4 * (via objcopy tricks), to validate the non-executability of .rodata.
5 */
6#include "lkdtm.h"
7
8void noinstr lkdtm_rodata_do_nothing(void)
9{
10 /* Does nothing. We just want an architecture agnostic "return". */
11}