summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-10-16 20:04:40 -0300
committershennetsind <ind@henn.et>2013-10-16 20:04:40 -0300
commit3ba9b1013c494f5c0a8b490336d60f0f4dabbd4a (patch)
treee09b007b2dec290cef90a49e1b671ce7d59a7ce2 /tools
parent4a1332099ff348f88f3d2c05512a92d3bc6f9c25 (diff)
downloadhercules-3ba9b1013c494f5c0a8b490336d60f0f4dabbd4a.tar.gz
hercules-3ba9b1013c494f5c0a8b490336d60f0f4dabbd4a.tar.bz2
hercules-3ba9b1013c494f5c0a8b490336d60f0f4dabbd4a.tar.xz
hercules-3ba9b1013c494f5c0a8b490336d60f0f4dabbd4a.zip
Modified HPM Hook Caching
Dropped hard-coded indexes, will make updates of the file in the future be smaller and much more clear in content. Made Possible Thanks to Haruna <3 Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/HPMHookGen/HPMHookGen.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/HPMHookGen/HPMHookGen.pl b/tools/HPMHookGen/HPMHookGen.pl
index 5333f3f03..cf50a9e77 100755
--- a/tools/HPMHookGen/HPMHookGen.pl
+++ b/tools/HPMHookGen/HPMHookGen.pl
@@ -392,7 +392,7 @@ foreach my $key (@keys) {
foreach my $if (@{ $ifs{$key} }) {
print FH <<"EOF";
- { HP_POP($key\->$if->{name}), HP_POP2($if->{hname}), $idx },
+ { HP_POP($key\->$if->{name}, $if->{hname}) },
EOF
$idx += 2;