SPARC: Make 64 bit SPARC process initialization check checkpointRestored too.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 7 Nov 2007 23:03:49 +0000 (15:03 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 7 Nov 2007 23:03:49 +0000 (15:03 -0800)
--HG--
extra : convert_revision : 8d48f705983f31db5947c6c4ae9f0df57f413d68

src/arch/sparc/process.cc

index ffe430ac74ddd3dfc5e02b69af06b040e204f4fe..1f5d0b07716e218a5cdac260ae9c4c18ded8003c 100644 (file)
@@ -161,6 +161,9 @@ Sparc32LiveProcess::startup()
 void
 Sparc64LiveProcess::startup()
 {
+    if (checkpointRestored)
+        return;
+
     argsInit(sizeof(IntReg), VMPageSize);
 
     //From the SPARC ABI