summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/miscregfile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/miscregfile.cc b/src/arch/x86/miscregfile.cc
index 6abeb7d34..7fce43c1d 100644
--- a/src/arch/x86/miscregfile.cc
+++ b/src/arch/x86/miscregfile.cc
@@ -222,8 +222,8 @@ void MiscRegFile::setReg(int miscReg,
panic("Local APIC ID register unimplemented.\n");
break;
case MISCREG_APIC_VERSION:
- panic("Local APIC Version register is read only.\n");
- break;
+ // The Local APIC Version register is read only.
+ return;
case MISCREG_APIC_TASK_PRIORITY:
panic("Local APIC Task Priority register unimplemented.\n");
break;