about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/tile/Makefile
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@mellanox.com>2016-11-14 11:41:38 -0500
committerChris Metcalf <cmetcalf@mellanox.com>2016-11-18 13:34:01 -0500
commit6933f28a64090760a1c1a731d89714265497ba83 (patch)
treebbb186b7d44ea26a063eb8a83f500be991d44ad9 /sysdeps/unix/sysv/linux/tile/Makefile
parent8885f979096f46afd30188e92cefd492c3620787 (diff)
downloadglibc-6933f28a64090760a1c1a731d89714265497ba83.tar.gz
glibc-6933f28a64090760a1c1a731d89714265497ba83.tar.xz
glibc-6933f28a64090760a1c1a731d89714265497ba83.zip
Make tile's set_dataplane API compatibility-only
The set_dataplane() API in <sys/dataplane.h> originally supported the
Tilera version of Linux as shipped to our customers.  Once we started
upstreaming the dataplane support in the kernel, the API changed
to use fcntl() as part of the current task-isolation patch series.

It doesn't seem like continuing to support the old API is useful
for newly-compiled code, and even supporting the old glibc binary
API on an upstream kernel that supports the new task isolation mode
isn't straightforward, since the semantics have changed in ways that
make it hard to map the old semantics precisely to the new ones,
so just return ENOSYS.
Diffstat (limited to 'sysdeps/unix/sysv/linux/tile/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/tile/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/tile/Makefile b/sysdeps/unix/sysv/linux/tile/Makefile
index 43acea3633..04605a69ac 100644
--- a/sysdeps/unix/sysv/linux/tile/Makefile
+++ b/sysdeps/unix/sysv/linux/tile/Makefile
@@ -8,8 +8,7 @@ sysdep_headers += sys/reg.h
 sysdep_headers += sys/cachectl.h
 sysdep_routines += cacheflush
 
-# Control dataplane properties of current thread.
-sysdep_headers += sys/dataplane.h
+# Control dataplane properties of current thread (compatibility only).
 sysdep_routines += set_dataplane
 
 endif