summaryrefslogtreecommitdiff
path: root/src/arch/alpha
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-10-10 20:38:05 -0700
committerGabe Black <gblack@eecs.umich.edu>2010-10-10 20:38:05 -0700
commit157d6f9c2fb203dd95fe53c3481e851ea55272ef (patch)
tree8768e64c9c290a4b159b3bebe4d7dbbce20529c3 /src/arch/alpha
parent63fa65613eb654e819721930782a13f1177f31c2 (diff)
downloadgem5-157d6f9c2fb203dd95fe53c3481e851ea55272ef.tar.xz
SPARC: Make SPARC's ISA's clear function initialize everything it should.
Also make it not set some pointers to NULL potentially introducing a memory leak. That should be done in the constructor.
Diffstat (limited to 'src/arch/alpha')
-rw-r--r--src/arch/alpha/isa.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/alpha/isa.hh b/src/arch/alpha/isa.hh
index 01666c783..cd2ece22d 100644
--- a/src/arch/alpha/isa.hh
+++ b/src/arch/alpha/isa.hh
@@ -31,6 +31,8 @@
#ifndef __ARCH_ALPHA_ISA_HH__
#define __ARCH_ALPHA_ISA_HH__
+#include <string.h>
+
#include <string>
#include <iostream>