Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * rodata_test.h: functional test for mark_rodata_ro function
0004  *
0005  * (C) Copyright 2008 Intel Corporation
0006  * Author: Arjan van de Ven <arjan@linux.intel.com>
0007  */
0008 
0009 #ifndef _RODATA_TEST_H
0010 #define _RODATA_TEST_H
0011 
0012 #ifdef CONFIG_DEBUG_RODATA_TEST
0013 void rodata_test(void);
0014 #else
0015 static inline void rodata_test(void) {}
0016 #endif
0017 
0018 #endif /* _RODATA_TEST_H */