Index: /trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DevIchAc97.cpp	(revision 82324)
+++ /trunk/src/VBox/Devices/Audio/DevIchAc97.cpp	(revision 82325)
@@ -651,6 +651,6 @@
 static void               ichac97R3BDLEDumpAll(PAC97STATE pThis, uint64_t u64BDLBase, uint16_t cBDLE);
 # endif
+static bool               ichac97R3TimerSet(PPDMDEVINS pDevIns, PAC97STATE pThis, PAC97STREAM pStream, uint64_t tsExpire, bool fForce);
 #endif /* IN_RING3 */
-static bool               ichac97TimerSet(PPDMDEVINS pDevIns, PAC97STATE pThis, PAC97STREAM pStream, uint64_t tsExpire, bool fForce);
 
 static void ichac97WarmReset(PAC97STATE pThis)
@@ -2607,5 +2607,5 @@
         ichac97R3StreamTransferUpdate(pDevIns, pThis, pStream, pStream->Regs.picb << 1); /** @todo r=andy Assumes 16-bit samples. */
 
-        ichac97TimerSet(pDevIns, pThis, pStream,
+        ichac97R3TimerSet(pDevIns, pThis, pStream,
                           PDMDevHlpTimerGet(pDevIns, RT_SAFE_SUBSCRIPT8(pThis->ahTimers, pStream->u8SD))
                         + pStream->State.cTransferTicks,
@@ -2616,5 +2616,4 @@
 }
 
-#endif /* IN_RING3 */
 
 /**
@@ -2637,5 +2636,5 @@
  *          Forcing a new expiration time will override the above mechanism.
  */
-static bool ichac97TimerSet(PPDMDEVINS pDevIns, PAC97STATE pThis, PAC97STREAM pStream, uint64_t tsExpire, bool fForce)
+static bool ichac97R3TimerSet(PPDMDEVINS pDevIns, PAC97STATE pThis, PAC97STREAM pStream, uint64_t tsExpire, bool fForce)
 {
     AssertPtrReturn(pThis, false);
@@ -2661,5 +2660,4 @@
 }
 
-#ifdef IN_RING3
 
 /**
@@ -3149,5 +3147,5 @@
                             /* Arm the timer for this stream. */
                             /** @todo r=bird: This function returns bool, not VBox status! */
-                            int rc2 = ichac97TimerSet(pDevIns, pThis, pStream,
+                            int rc2 = ichac97R3TimerSet(pDevIns, pThis, pStream,
                                                         PDMDevHlpTimerGet(pDevIns, RT_SAFE_SUBSCRIPT8(pThis->ahTimers,
                                                                                                       pStream->u8SD))
@@ -3647,5 +3645,5 @@
             /* Re-arm the timer for this stream. */
             /** @todo r=bird: This function returns bool, not VBox status! */
-            rc2 = ichac97TimerSet(pDevIns, pThis, pStream,
+            rc2 = ichac97R3TimerSet(pDevIns, pThis, pStream,
                                     PDMDevHlpTimerGet(pDevIns, RT_SAFE_SUBSCRIPT8(pThis->ahTimers, pStream->u8SD))
                                   + pStream->State.cTransferTicks,
