1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: Set --one-cpu as default on Hurd.
Author: Svante Signell <svante.signell@gmail.com>
Origin: vendor, https://bugs.debian.org/745515
Last-Update: 2014-08-14
--- a/cpuid.c 2014-04-22 15:38:27.000000000 +0200
+++ b/cpuid.c 2014-04-22 16:27:58.000000000 +0200
@@ -6516,6 +6516,13 @@
exit(1);
}
+#ifdef __GNU__
+ fprintf(stderr,
+ "%s: -i (sched_setaffinity) is not supported on GNU/Hurd, setting --one-cpu as default\n",
+ program);
+ opt_one_cpu = TRUE;
+#endif
+
// Default to -i. So use inst unless -k is specified.
boolean inst = !opt_kernel;
|