From 9135bc9734a6325e05c422aee34e7135143bf102 Mon Sep 17 00:00:00 2001 From: kmacy Date: Thu, 16 Oct 2008 22:45:07 +0000 Subject: - Fix floating point handling for xen - Enable SMP --- sys/i386/include/xen/xen-os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/i386/include') diff --git a/sys/i386/include/xen/xen-os.h b/sys/i386/include/xen/xen-os.h index e813d4a..47564db 100644 --- a/sys/i386/include/xen/xen-os.h +++ b/sys/i386/include/xen/xen-os.h @@ -37,7 +37,7 @@ extern int gdtset; static inline int smp_processor_id(void) { - if (likely(gdtset)) + if (__predict_true(gdtset)) return PCPU_GET(cpuid); return 0; } -- cgit v1.1