aboutsummaryrefslogtreecommitdiff
path: root/security/cryptlib/files/patch-misc_os_spec.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/cryptlib/files/patch-misc_os_spec.c')
-rw-r--r--security/cryptlib/files/patch-misc_os_spec.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/cryptlib/files/patch-misc_os_spec.c b/security/cryptlib/files/patch-misc_os_spec.c
new file mode 100644
index 000000000000..f8554713156c
--- /dev/null
+++ b/security/cryptlib/files/patch-misc_os_spec.c
@@ -0,0 +1,11 @@
+--- misc/os_spec.c.orig Fri Jul 14 08:46:10 2006
++++ misc/os_spec.c Fri Jul 14 08:46:38 2006
+@@ -1275,7 +1275,7 @@
+ return( sysCaps );
+ }
+
+-#elif defined( __GNUC__ ) && defined( __i386__ )
++#elif defined( __GNUC__ ) && defined( __i386__ ) && !defined(__FreeBSD__)
+
+ #if SYSCAP_FLAG_RDTSC != 0x01
+ #error Need to sync SYSCAP_FLAG_RDTSC with equivalent asm definition