diff options
Diffstat (limited to 'libc/sysdeps/linux/nios2')
-rw-r--r-- | libc/sysdeps/linux/nios2/bits/kernel_stat.h | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/nios2/bits/kernel_types.h | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/nios2/bits/setjmp.h | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/nios2/syscall.c | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/nios2/bits/kernel_stat.h b/libc/sysdeps/linux/nios2/bits/kernel_stat.h index 908a153d8..9be9d115d 100644 --- a/libc/sysdeps/linux/nios2/bits/kernel_stat.h +++ b/libc/sysdeps/linux/nios2/bits/kernel_stat.h @@ -5,8 +5,8 @@ #error bits/kernel_stat.h is for internal uClibc use only! #endif -/* This file provides whatever this particular arch's kernel thinks - * struct kernel_stat should look like... It turns out each arch has a +/* This file provides whatever this particular arch's kernel thinks + * struct kernel_stat should look like... It turns out each arch has a * different opinion on the subject... */ struct kernel_stat { diff --git a/libc/sysdeps/linux/nios2/bits/kernel_types.h b/libc/sysdeps/linux/nios2/bits/kernel_types.h index 1fd1c4aaa..3fcd1af05 100644 --- a/libc/sysdeps/linux/nios2/bits/kernel_types.h +++ b/libc/sysdeps/linux/nios2/bits/kernel_types.h @@ -1,6 +1,6 @@ /* Note that we use the exact same include guard #define names - * as asm/posix_types.h. This will avoid gratuitous conflicts - * with the posix_types.h kernel header, and will ensure that + * as asm/posix_types.h. This will avoid gratuitous conflicts + * with the posix_types.h kernel header, and will ensure that * our private content, and not the kernel header, will win. * -Erik */ diff --git a/libc/sysdeps/linux/nios2/bits/setjmp.h b/libc/sysdeps/linux/nios2/bits/setjmp.h index 5d33caa98..fcff0316d 100644 --- a/libc/sysdeps/linux/nios2/bits/setjmp.h +++ b/libc/sysdeps/linux/nios2/bits/setjmp.h @@ -45,7 +45,7 @@ typedef struct /* floating point regs, if any */ #if defined __HAVE_FPU__ unsigned long __fpregs[64]; -#endif +#endif } __jmp_buf[1]; #endif diff --git a/libc/sysdeps/linux/nios2/syscall.c b/libc/sysdeps/linux/nios2/syscall.c index df925fde8..c3eb0022c 100644 --- a/libc/sysdeps/linux/nios2/syscall.c +++ b/libc/sysdeps/linux/nios2/syscall.c @@ -1,4 +1,4 @@ -/* +/* * libc/sysdeps/linux/nios2/syscall.c -- generic syscall function for linux/nios2 * * Copyright (C) 2004 Microtronix Datacom Ltd. @@ -28,7 +28,7 @@ long syscall(long sysnum, long a, long b, long c, long d, long e, long f) { register long _r2 __asm__("r2")=(long)TRAP_ID_SYSCALL; register long _r3 __asm__("r3")=(long)sysnum; - + register long _r4 __asm__("r4")=(long)(a); register long _r5 __asm__("r5")=(long)(b); register long _r6 __asm__("r6")=(long)(c); |