commit | 3ac88f02f7460b8f371b21baca6d213f11105fd3 | [log] [tgz] |
---|---|---|
author | Ricardo Cerqueira <ricardo@cyngn.com> | Sat Jul 16 02:15:14 2016 +0100 |
committer | Nathan Prevette <nprevette420@gmail.com> | Mon Jul 18 19:35:51 2016 -0700 |
tree | 23dfa0b8ea79edd0e486b6a73091aa0c3583d2ce | |
parent | 94f4dc5705b2ffd5f47d7bbaf1645c2c2deef8a4 [diff] |
power: 8996: Fix only sending the first pair out of every perf profile When acquiring the perflock, we were only passing the first pair of arguments out of every profile. Because... sizeof(*)/sizeof(int) is always 2 on a 64bit arch. There's no need to put the profile into a pointer anyway, just pass it directly to ARRAY_SIZE (and the lock) Change-Id: I25f2a9b059290c3a0b36fc8dc29c711da938430e