diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2012-02-29 15:47:45 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-03-09 11:39:49 +1100 |
commit | e575f8db1ed8e73515350a0d569a0eb8367ab6b4 (patch) | |
tree | 0342ef73839253f05b6e01e09f47d4bc767e54c8 /COPYING | |
parent | 54793d0ef113145c8c0342d9bf2ade5c6b71cba5 (diff) |
powerpc/eeh: Introduce struct eeh_stats for EEH
With the original EEH implementation, the EEH global statistics
are maintained by individual global variables. That makes the
code a little hard to maintain.
The patch introduces extra struct eeh_stats for the EEH global
statistics so that it can be maintained in collective fashion.
It's the rework on the corresponding v5 patch. According to
the comments from David Laight, the EEH global statistics have
been changed for a litte bit so that they have fixed-type of
"u64". Also, the format used to print them has been changed to
"%llu" based on David's suggestion. Also, the output format of
EEH global statistics should be kept as intacted according to
Michael's suggestion that there might be tools parsing them.
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions