diff options
author | David Daney <[email protected]> | 2011-09-24 02:29:55 +0200 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2011-10-24 23:34:26 +0100 |
commit | 82091564cfd7ab8def42777a9c662dbf655c5d25 (patch) | |
tree | 2e0328b9795a694aa64561958f397770610fab2b /net/unix/sysctl_net_unix.c | |
parent | e5dcb58aa51090f462959b9789eb477286bd2279 (diff) |
MIPS: perf: Add support for 64-bit perf counters.
The hard coded constants are moved to struct mips_pmu. All counter
register access move to the read_counter and write_counter function
pointers, which are set to either 32-bit or 64-bit access methods at
initialization time.
Many of the function pointers in struct mips_pmu were not needed as
there was only a single implementation, these were removed.
I couldn't figure out what made struct cpu_hw_events.msbs[] at all
useful, so I removed it too.
Some functions and other declarations were reordered to reduce the
need for forward declarations.
Signed-off-by: David Daney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Deng-Cheng Zhu <[email protected]>
To: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/2792/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions