diff options
author | kmacy <kmacy@FreeBSD.org> | 2008-10-16 22:45:07 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2008-10-16 22:45:07 +0000 |
commit | 9135bc9734a6325e05c422aee34e7135143bf102 (patch) | |
tree | 5528a8b889931c9237842e4f1368ea84b0483e0d /sys/i386/include | |
parent | 17d1363937423c6bf02c1cd444a02c7c4957cbc8 (diff) | |
download | FreeBSD-src-9135bc9734a6325e05c422aee34e7135143bf102.zip FreeBSD-src-9135bc9734a6325e05c422aee34e7135143bf102.tar.gz |
- Fix floating point handling for xen
- Enable SMP
Diffstat (limited to 'sys/i386/include')
-rw-r--r-- | sys/i386/include/xen/xen-os.h | 2 |
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; } |