blob: 635ad4dbd0ae940765756c4a3378b7789c85509e [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * rodata_test.h: functional test for mark_rodata_ro function
4 *
5 * (C) Copyright 2008 Intel Corporation
6 * Author: Arjan van de Ven <arjan@linux.intel.com>
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00007 */
8
9#ifndef _RODATA_TEST_H
10#define _RODATA_TEST_H
11
12#ifdef CONFIG_DEBUG_RODATA_TEST
13void rodata_test(void);
14#else
15static inline void rodata_test(void) {}
16#endif
17
18#endif /* _RODATA_TEST_H */