summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/eminline.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-03-01 10:05:59 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-03-01 13:09:50 +0100
commit91c910e73c8b0faadf9381bc9626dbede88f04fe (patch)
tree648239678f6a3b5c4fb5e64309191b166cfe3e74 /src/osd/eminline.h
parent599570bf7f3a01baec9a56edf81075d82a5e4a51 (diff)
Use std::atomic and std::mutex where applicable (nw)
Diffstat (limited to 'src/osd/eminline.h')
-rw-r--r--src/osd/eminline.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/osd/eminline.h b/src/osd/eminline.h
index 80b31437f2a..ccdcd65b9c6 100644
--- a/src/osd/eminline.h
+++ b/src/osd/eminline.h
@@ -18,14 +18,6 @@
#if defined(__i386__) || defined(__x86_64__)
-
-static inline void ATTR_FORCE_INLINE
-osd_yield_processor(void)
-{
- __asm__ __volatile__ ( " rep ; nop ;" );
-}
-
-
#if defined(__x86_64__)
//============================================================
@@ -52,14 +44,6 @@ _osd_exchange64(INT64 volatile *ptr, INT64 exchange)
#elif defined(__ppc__) || defined (__PPC__) || defined(__ppc64__) || defined(__PPC64__)
-static inline void ATTR_FORCE_INLINE
-osd_yield_processor(void)
-{
- __asm__ __volatile__ ( " nop \n nop \n" );
-}
-
-
-
#if defined(__ppc64__) || defined(__PPC64__)
//============================================================