Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #ifndef __A_OUT_GNU_H__ |
| 3 | #define __A_OUT_GNU_H__ |
| 4 | |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 5 | #include <uapi/linux/a.out.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | |
David Howells | 7fa3031 | 2008-02-08 04:19:28 -0800 | [diff] [blame] | 7 | #ifndef __ASSEMBLY__ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | #ifdef linux |
| 9 | #include <asm/page.h> |
| 10 | #if defined(__i386__) || defined(__mc68000__) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | #else |
| 12 | #ifndef SEGMENT_SIZE |
| 13 | #define SEGMENT_SIZE PAGE_SIZE |
Kirill A. Shutemov | ed7b188 | 2008-02-07 00:15:56 -0800 | [diff] [blame] | 14 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | #endif |
| 16 | #endif |
David Howells | 7fa3031 | 2008-02-08 04:19:28 -0800 | [diff] [blame] | 17 | #endif /*__ASSEMBLY__ */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | #endif /* __A_OUT_GNU_H__ */ |