summaryrefslogtreecommitdiffstats
path: root/meta/packages/glibc/glibc-cvs/arm-ioperm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/glibc/glibc-cvs/arm-ioperm.patch')
-rw-r--r--meta/packages/glibc/glibc-cvs/arm-ioperm.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/glibc/glibc-cvs/arm-ioperm.patch b/meta/packages/glibc/glibc-cvs/arm-ioperm.patch
new file mode 100644
index 0000000000..ae9423ef55
--- /dev/null
+++ b/meta/packages/glibc/glibc-cvs/arm-ioperm.patch
@@ -0,0 +1,13 @@
1--- sysdeps/unix/sysv/linux/arm/ioperm.c 20 Feb 2003 22:22:35 -0000 1.6
2+++ sysdeps/unix/sysv/linux/arm/ioperm.c 24 Oct 2003 20:59:38 -0000
3@@ -100,8 +100,8 @@
4 {
5 char systype[256];
6 int i, n;
7- static int iobase_name[] = { CTL_BUS, BUS_ISA, BUS_ISA_PORT_BASE };
8- static int ioshift_name[] = { CTL_BUS, BUS_ISA, BUS_ISA_PORT_SHIFT };
9+ static int iobase_name[] = { CTL_BUS, CTL_BUS_ISA, BUS_ISA_PORT_BASE };
10+ static int ioshift_name[] = { CTL_BUS, CTL_BUS_ISA, BUS_ISA_PORT_SHIFT };
11 size_t len = sizeof(io.base);
12
13 if (! sysctl (iobase_name, 3, &io.io_base, &len, NULL, 0)