Yet another merge with the main repository.
[gem5.git] / src / cpu / inorder / inorder_dyn_inst.cc
index 043b211343553105b3c4022624915ee97ab10519..b61beece2558fe1bdf8c76977810d5fb3a1acd7e 100644 (file)
@@ -314,12 +314,11 @@ InOrderDynInst::simPalCheck(int palFunc)
 void
 InOrderDynInst::syscall(int64_t callnum)
 {
-    if (FullSystem) {
+    if (FullSystem)
         panic("Syscall emulation isn't available in FS mode.\n");
-    } else {
-        syscallNum = callnum;
-        cpu->syscallContext(NoFault, this->threadNumber, this);
-    }
+
+    syscallNum = callnum;
+    cpu->syscallContext(NoFault, this->threadNumber, this);
 }
 
 void