]> git.pld-linux.org Git - packages/util-linux.git/blame - util-linux-sparc.patch
- obsoleted by util-linux-ng
[packages/util-linux.git] / util-linux-sparc.patch
CommitLineData
25c46e61 1--- util-linux-2.13-pre7/mount/umount.c.orig 2007-04-16 17:01:33.000000000 +0200
2+++ util-linux-2.13-pre7/mount/umount.c 2007-04-16 17:01:43.000000000 +0200
3@@ -21,7 +21,7 @@
4 #include "env.h"
5 #include "nls.h"
6
7-#if defined(MNT_FORCE) && !defined(__sparc__) && !defined(__arm__)
8+#if defined(MNT_FORCE)
9 /* Interesting ... it seems libc knows about MNT_FORCE and presumably
10 about umount2 as well -- need not do anything */
11 #else /* MNT_FORCE */
12--- util-linux-2.13-pre7/schedutils/ionice.c.orig 2007-04-16 17:30:44.000000000 +0200
13+++ util-linux-2.13-pre7/schedutils/ionice.c 2007-04-16 17:33:38.000000000 +0200
14@@ -33,6 +33,9 @@
15 #elif defined(__s390x__) || defined(__s390__)
16 #define __NR_ioprio_set 282
17 #define __NR_ioprio_get 283
18+#elif defined(__sparc__)
19+#define __NR_ioprio_set 196
20+#define __NR_ioprio_get 218
21 #else
22 #error "Unsupported arch"
23 #endif
This page took 0.025323 seconds and 4 git commands to generate.