]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/rodata_test.h
ACPI: fix acpi_find_child_device() invocation in acpi_preset_companion()
[mirror_ubuntu-bionic-kernel.git] / include / linux / rodata_test.h
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
13 #ifndef _RODATA_TEST_H
14 #define _RODATA_TEST_H
15
16 #ifdef CONFIG_DEBUG_RODATA_TEST
17 void rodata_test(void);
18 #else
19 static inline void rodata_test(void) {}
20 #endif
21
22 #endif /* _RODATA_TEST_H */