]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/MAI/bios_emulator/scitech/src/common/aaqnx.c
* Code cleanup:
[people/ms/u-boot.git] / board / MAI / bios_emulator / scitech / src / common / aaqnx.c
index 2e26c9afa6f86cd9d34eb12100791285e30e0d64..13531be99fc2f2d729e6b33ceef32c58a876f1e0 100644 (file)
@@ -72,7 +72,7 @@ Nucleus loader library.
 ibool NAPI GA_TimerInit(void)
 {
     if (_GA_haveCPUID() && (_GA_getCPUIDFeatures() & CPU_HaveRDTSC) != 0)
-        haveRDTSC = true;
+       haveRDTSC = true;
     return true;
 }
 
@@ -84,12 +84,12 @@ void NAPI GA_TimerRead(
     GA_largeInteger *value)
 {
     if (haveRDTSC)
-        _GA_readTimeStamp(value);
+       _GA_readTimeStamp(value);
     else {
-        struct timespec ts;
+       struct timespec ts;
 
-        clock_gettime(CLOCK_REALTIME, &ts);
-        value->low = (ts.tv_nsec / 1000 + ts.tv_sec * 1000000);
-        value->high = 0;
-        }
+       clock_gettime(CLOCK_REALTIME, &ts);
+       value->low = (ts.tv_nsec / 1000 + ts.tv_sec * 1000000);
+       value->high = 0;
+       }
 }