1 /* 2 * rodata_test.h: functional test for mark_rodata_ro function 3 * 4 * (C) Copyright 2008 Intel Corporation 5 * Author: Arjan van de Ven <[email protected]> 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 17 extern const int rodata_test_data; 18 void rodata_test(void); 19 #else 20 static inline void rodata_test(void) {} 21 #endif 22 23 #endif /* _RODATA_TEST_H */ 24