diff options
author | Robert Richter <robert.richter@amd.com> | 2010-03-23 19:09:51 +0100 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2010-05-04 11:35:07 +0200 |
commit | 8f5a2dd83a1f8e89fdc17eb0f2f07c2e713e635a (patch) | |
tree | 6d9aeaa4b18d5b01e67b1391e1784793bfe4136a /arch/x86/power | |
parent | 81c4a8a6733ad2ff49c0e077b51403367601b3e7 (diff) |
oprofile/x86: rework error handler in nmi_setup()
This patch improves the error handler in nmi_setup(). Most parts of
the code are moved to allocate_msrs(). In case of an error
allocate_msrs() also frees already allocated memory. nmi_setup()
becomes easier and better extendable.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch/x86/power')
0 files changed, 0 insertions, 0 deletions