summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/xen
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2008-10-16 22:45:07 +0000
committerkmacy <kmacy@FreeBSD.org>2008-10-16 22:45:07 +0000
commit9135bc9734a6325e05c422aee34e7135143bf102 (patch)
tree5528a8b889931c9237842e4f1368ea84b0483e0d /sys/i386/include/xen
parent17d1363937423c6bf02c1cd444a02c7c4957cbc8 (diff)
downloadFreeBSD-src-9135bc9734a6325e05c422aee34e7135143bf102.zip
FreeBSD-src-9135bc9734a6325e05c422aee34e7135143bf102.tar.gz
- Fix floating point handling for xen
- Enable SMP
Diffstat (limited to 'sys/i386/include/xen')
-rw-r--r--sys/i386/include/xen/xen-os.h2
1 files changed, 1 insertions, 1 deletions
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;
}
OpenPOWER on IntegriCloud