diff options
| author | Keith Randall <khr@golang.org> | 2013-08-12 13:47:18 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2013-08-12 13:47:18 -0700 |
| commit | e838334beb38c20d2b4035b53ec4e3e3487844f9 (patch) | |
| tree | 3e098b463e89455884e6a15c019bee84c522e088 /src/pkg/runtime/lock_futex.c | |
| parent | 2791ef0b6784f487738b7dbe6bda520b426131f3 (diff) | |
| download | go-e838334beb38c20d2b4035b53ec4e3e3487844f9.tar.xz | |
runtime: change textflags from numbers to symbols
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/12798043
Diffstat (limited to 'src/pkg/runtime/lock_futex.c')
| -rw-r--r-- | src/pkg/runtime/lock_futex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkg/runtime/lock_futex.c b/src/pkg/runtime/lock_futex.c index 42f37348a5..5626e4ae13 100644 --- a/src/pkg/runtime/lock_futex.c +++ b/src/pkg/runtime/lock_futex.c @@ -6,6 +6,7 @@ #include "runtime.h" #include "stack.h" +#include "../../cmd/ld/textflag.h" // This implementation depends on OS-specific implementations of // @@ -133,7 +134,7 @@ runtime·notesleep(Note *n) runtime·futexsleep((uint32*)&n->key, 0, -1); } -#pragma textflag 7 +#pragma textflag NOSPLIT static bool notetsleep(Note *n, int64 ns, int64 deadline, int64 now) { |
