summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/HPMHookGen/HPMDataCheckGen.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/HPMHookGen/HPMDataCheckGen.pl b/tools/HPMHookGen/HPMDataCheckGen.pl
index 1d4ed21b0..a79811c47 100644
--- a/tools/HPMHookGen/HPMDataCheckGen.pl
+++ b/tools/HPMHookGen/HPMDataCheckGen.pl
@@ -41,7 +41,7 @@ print FH <<"EOF";
#define _HPM_DATA_CHECK_H_
-const struct s_HPMDataCheck HPMDataCheck[] = {
+HPExport const struct s_HPMDataCheck HPMDataCheck[] = {
EOF
foreach my $key (sort keys %out) {
@@ -61,7 +61,7 @@ EOF
}
print FH <<"EOF";
};
-unsigned int HPMDataCheckLen = ARRAYLENGTH(HPMDataCheck);
+HPExport unsigned int HPMDataCheckLen = ARRAYLENGTH(HPMDataCheck);
#endif /* _HPM_DATA_CHECK_H_ */
EOF