From abe7ef95cb89c68c6385162cb801bab8b27a585b Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Tue, 3 Jan 2017 12:03:06 +0000 Subject: sim: Remove redundant export_method_cxx_predecls The headers declared in export_method_cxx_predecls are redundant since a SimObject's main header is automatically included. Change-Id: Ied9e84630b36960e54efe91d16f8c66fba7e0da0 Signed-off-by: Andreas Sandberg Reviewed-by: Curtis Dunham Reviewed-by: Joe Gross Reviewed-by: Jason Lowe-Power --- src/arch/arm/ArmSystem.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/arch') diff --git a/src/arch/arm/ArmSystem.py b/src/arch/arm/ArmSystem.py index ac04a56e4..9100db09a 100644 --- a/src/arch/arm/ArmSystem.py +++ b/src/arch/arm/ArmSystem.py @@ -98,10 +98,6 @@ class LinuxArmSystem(GenericArmSystem): type = 'LinuxArmSystem' cxx_header = "arch/arm/linux/system.hh" - @classmethod - def export_method_cxx_predecls(cls, code): - code('#include "arch/arm/linux/system.hh"') - @classmethod def export_methods(cls, code): code('''void dumpDmesg();''') -- cgit v1.2.3