aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-11-28 13:55:31 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-11-28 13:55:31 +0000
commitb5e35350aa715e1d06b670764564ddaaef26d747 (patch)
treee92d76971cbd9013ac2ce41dd0d9de654832e487
parentb964e06640f62cf523e3808b68029d398692204a (diff)
downloadglibc-b5e35350aa715e1d06b670764564ddaaef26d747.tar
glibc-b5e35350aa715e1d06b670764564ddaaef26d747.tar.gz
glibc-b5e35350aa715e1d06b670764564ddaaef26d747.tar.bz2
glibc-b5e35350aa715e1d06b670764564ddaaef26d747.zip
Do not include asm/cachectl.h in nios2 sys/cachectl.h.
The nios2 sys/cachectl.h includes a kernel header asm/cachectl.h, which does not exist, so causing the check-installed-headers tests to fail. This patch removes the include of a nonexistent header. Tested (compilation only) for nios2. * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include <asm/cachectl.h>.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/nios2/sys/cachectl.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a7395cfa1..7b54d4d249 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-11-28 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
+ <asm/cachectl.h>.
+
2016-11-27 Zack Weinberg <zackw@panix.com>
* libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
diff --git a/sysdeps/unix/sysv/linux/nios2/sys/cachectl.h b/sysdeps/unix/sysv/linux/nios2/sys/cachectl.h
index 717e6ae843..d4e6b2ebfa 100644
--- a/sysdeps/unix/sysv/linux/nios2/sys/cachectl.h
+++ b/sysdeps/unix/sysv/linux/nios2/sys/cachectl.h
@@ -21,9 +21,6 @@
#include <features.h>
-/* Get the kernel definition for the op bits. */
-#include <asm/cachectl.h>
-
__BEGIN_DECLS
#ifdef __USE_MISC