rodata_test.h 559 B

12345678910111213141516171819202122
  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 <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. #ifndef _RODATA_TEST_H
  13. #define _RODATA_TEST_H
  14. #ifdef CONFIG_DEBUG_RODATA_TEST
  15. void rodata_test(void);
  16. #else
  17. static inline void rodata_test(void) {}
  18. #endif
  19. #endif /* _RODATA_TEST_H */