diff options
Diffstat (limited to 'include/asm-sh/unistd.h')
| -rw-r--r-- | include/asm-sh/unistd.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/include/asm-sh/unistd.h b/include/asm-sh/unistd.h index 4b21f369c28c..65be656ead7d 100644 --- a/include/asm-sh/unistd.h +++ b/include/asm-sh/unistd.h | |||
| @@ -1,5 +1,13 @@ | |||
| 1 | #ifdef CONFIG_SUPERH32 | 1 | #ifdef __KERNEL__ |
| 2 | # include "unistd_32.h" | 2 | # ifdef CONFIG_SUPERH32 |
| 3 | # include "unistd_32.h" | ||
| 4 | # else | ||
| 5 | # include "unistd_64.h" | ||
| 6 | # endif | ||
| 3 | #else | 7 | #else |
| 4 | # include "unistd_64.h" | 8 | # ifdef __SH5__ |
| 9 | # include "unistd_64.h" | ||
| 10 | # else | ||
| 11 | # include "unistd_32.h" | ||
| 12 | # endif | ||
| 5 | #endif | 13 | #endif |
