]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/machparam.h
xnu-517.12.7.tar.gz
[apple/xnu.git] / osfmk / i386 / machparam.h
index 34e24e8085c7c1b3ecc3b6da7d345866dc696455..a692dc68f91cfe3180fe1047f60588887e085e4a 100644 (file)
  *
  *     SPLs are true functions on i386, defined elsewhere.
  */
+
+/*
+ * XXX Temporary workaround to null out the call to compute_my_priority()
+ * from thread_quantum_expire() -- which for x86 may occur on the wrong cpu
+ * and this can lead to run queue corruption.
+ * Making this slimey re-definition here avoids the need for ifdefs in
+ * machine-independent code.
+ */
+#define compute_my_priority(x)