summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-22 15:18:45 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-22 15:18:45 +0000
commit559eb16d1d0d9b07f54c4a1a58111a758ec3d6e9 (patch)
tree6529984f44ad7635d1fda14a005ffa97dd7e3e47 /libc/sysdeps/linux
parent649f66670006ae01218a40812608605daade8600 (diff)
guard parts w/ __ASSEMBLER__ to be usable in vfork.S
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/bits/sched.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/sched.h b/libc/sysdeps/linux/common/bits/sched.h
index 263147170..914faf791 100644
--- a/libc/sysdeps/linux/common/bits/sched.h
+++ b/libc/sysdeps/linux/common/bits/sched.h
@@ -63,6 +63,8 @@
#endif
#endif
+#ifndef __ASSEMBLER__
+
/* The official definition. */
struct sched_param
{
@@ -134,3 +136,5 @@ typedef struct
(((cpusetp)->__bits[__CPUELT (cpu)] & __CPUMASK (cpu)) != 0)
#endif
#endif
+
+#endif /* __ASSEMBLER__ */