1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 1 /* 3 * rodata_test.h: functional test for mark_rod 2 * rodata_test.h: functional test for mark_rodata_ro function 4 * 3 * 5 * (C) Copyright 2008 Intel Corporation 4 * (C) Copyright 2008 Intel Corporation 6 * Author: Arjan van de Ven <arjan@linux.intel 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. 7 */ 11 */ 8 12 9 #ifndef _RODATA_TEST_H 13 #ifndef _RODATA_TEST_H 10 #define _RODATA_TEST_H 14 #define _RODATA_TEST_H 11 15 12 #ifdef CONFIG_DEBUG_RODATA_TEST 16 #ifdef CONFIG_DEBUG_RODATA_TEST >> 17 extern const int rodata_test_data; 13 void rodata_test(void); 18 void rodata_test(void); 14 #else 19 #else 15 static inline void rodata_test(void) {} 20 static inline void rodata_test(void) {} 16 #endif 21 #endif 17 22 18 #endif /* _RODATA_TEST_H */ 23 #endif /* _RODATA_TEST_H */ 19 24
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.