diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-01-12 01:31:45 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-01-12 01:31:45 +0000 |
commit | 9a0e3259f44ad2de9c65f14f756dab01b3598391 (patch) | |
tree | 86a3b8019380d5fad53258c4baba3dd9e1e7c736 /libgo/runtime/mem.c | |
parent | c6135f063335419e4b5df0b4e1caf145882c8a4b (diff) | |
download | gcc-9a0e3259f44ad2de9c65f14f756dab01b3598391.zip gcc-9a0e3259f44ad2de9c65f14f756dab01b3598391.tar.gz gcc-9a0e3259f44ad2de9c65f14f756dab01b3598391.tar.bz2 |
libgo: Update to weekly.2011-12-14.
From-SVN: r183118
Diffstat (limited to 'libgo/runtime/mem.c')
-rw-r--r-- | libgo/runtime/mem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgo/runtime/mem.c b/libgo/runtime/mem.c index 72ab4d6..04fca2c 100644 --- a/libgo/runtime/mem.c +++ b/libgo/runtime/mem.c @@ -69,9 +69,9 @@ runtime_SysAlloc(uintptr n) void runtime_SysUnused(void *v, uintptr n) { - USED(v); - USED(n); - // TODO(rsc): call madvise MADV_DONTNEED +#ifdef MADV_DONTNEED + runtime_madvise(v, n, MADV_DONTNEED); +#endif } void |