common-offsets.h (9d4d8572a539ef807e21c196f145aa365fd52f0e) common-offsets.h (9f0b4807a44ff81cf59421c8a86641efec586610)
1/* SPDX-License-Identifier: GPL-2.0 */
2/* for use by sys-$SUBARCH/kernel-offsets.c */
1/* SPDX-License-Identifier: GPL-2.0 */
2/* for use by sys-$SUBARCH/kernel-offsets.c */
3#include <stub-data.h>
3
4DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE);
5
6DEFINE(UM_KERN_PAGE_SIZE, PAGE_SIZE);
7DEFINE(UM_KERN_PAGE_MASK, PAGE_MASK);
8DEFINE(UM_KERN_PAGE_SHIFT, PAGE_SHIFT);
9DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC);
10

--- 27 unchanged lines hidden (view full) ---

38DEFINE(UML_CONFIG_UML_X86, CONFIG_UML_X86);
39#endif
40#ifdef CONFIG_64BIT
41DEFINE(UML_CONFIG_64BIT, CONFIG_64BIT);
42#endif
43#ifdef CONFIG_UML_TIME_TRAVEL_SUPPORT
44DEFINE(UML_CONFIG_UML_TIME_TRAVEL_SUPPORT, CONFIG_UML_TIME_TRAVEL_SUPPORT);
45#endif
4
5DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE);
6
7DEFINE(UM_KERN_PAGE_SIZE, PAGE_SIZE);
8DEFINE(UM_KERN_PAGE_MASK, PAGE_MASK);
9DEFINE(UM_KERN_PAGE_SHIFT, PAGE_SHIFT);
10DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC);
11

--- 27 unchanged lines hidden (view full) ---

39DEFINE(UML_CONFIG_UML_X86, CONFIG_UML_X86);
40#endif
41#ifdef CONFIG_64BIT
42DEFINE(UML_CONFIG_64BIT, CONFIG_64BIT);
43#endif
44#ifdef CONFIG_UML_TIME_TRAVEL_SUPPORT
45DEFINE(UML_CONFIG_UML_TIME_TRAVEL_SUPPORT, CONFIG_UML_TIME_TRAVEL_SUPPORT);
46#endif
47
48/* for stub */
49DEFINE(UML_STUB_FIELD_OFFSET, offsetof(struct stub_data, offset));
50DEFINE(UML_STUB_FIELD_CHILD_ERR, offsetof(struct stub_data, child_err));
51DEFINE(UML_STUB_FIELD_FD, offsetof(struct stub_data, fd));