diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2011-09-07 19:41:20 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2011-09-07 19:41:20 +0200 |
commit | e64a7d2ba5edd14efe8c7928529b4c96b8b68ee0 (patch) | |
tree | fc5f85612cb103e02c4df86a2b5d8ecfddfe8f53 /sysdeps | |
parent | b9d918c0f28908c7012c9d4f65f1cf2bc103fc4b (diff) | |
parent | 769e2108a0f5fc49eff9f3addbaf5f0646bcb253 (diff) |
Merge commit 'refs/top-bases/t/fix_have_kernel_resources' into t/fix_have_kernel_resources
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/pt-attr-getschedparam.c | 1 | ||||
-rw-r--r-- | sysdeps/mach/hurd/ia32/pt-setup.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/pt-attr-getschedparam.c b/sysdeps/generic/pt-attr-getschedparam.c index 6c3f15b..190cf9d 100644 --- a/sysdeps/generic/pt-attr-getschedparam.c +++ b/sysdeps/generic/pt-attr-getschedparam.c @@ -19,6 +19,7 @@ #include <pthread.h> #include <sched.h> +#include <string.h> #include <pt-internal.h> diff --git a/sysdeps/mach/hurd/ia32/pt-setup.c b/sysdeps/mach/hurd/ia32/pt-setup.c index ba438d6..7eb223c 100644 --- a/sysdeps/mach/hurd/ia32/pt-setup.c +++ b/sysdeps/mach/hurd/ia32/pt-setup.c @@ -64,7 +64,7 @@ stack_setup (struct __pthread *thread, { /* And then the call frame. */ top -= 2; - top = (uintptr_t) top & ~0xf; + top = (uintptr_t *) ((uintptr_t) top & ~0xf); top[1] = (uintptr_t) arg; /* Argument to START_ROUTINE. */ top[0] = (uintptr_t) start_routine; *--top = 0; /* Fake return address. */ |