blob: ea05f6c514139c39e1c52abd7d45c7337d764152 [file] [log] [blame]
Jinbum Park2959a5f2017-02-27 14:30:22 -08001/*
2 * rodata_test.h: functional test for mark_rodata_ro function
3 *
4 * (C) Copyright 2008 Intel Corporation
5 * Author: Arjan van de Ven <arjan@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */
12
13#ifndef _RODATA_TEST_H
14#define _RODATA_TEST_H
15
16#ifdef CONFIG_DEBUG_RODATA_TEST
17extern const int rodata_test_data;
18void rodata_test(void);
19#else
20static inline void rodata_test(void) {}
21#endif
22
23#endif /* _RODATA_TEST_H */