aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/oprofile/op_model_amd.c
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2010-03-23 19:09:51 +0100
committerRobert Richter <robert.richter@amd.com>2010-05-04 11:35:07 +0200
commit8f5a2dd83a1f8e89fdc17eb0f2f07c2e713e635a (patch)
tree6d9aeaa4b18d5b01e67b1391e1784793bfe4136a /arch/x86/oprofile/op_model_amd.c
parent81c4a8a6733ad2ff49c0e077b51403367601b3e7 (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/oprofile/op_model_amd.c')
0 files changed, 0 insertions, 0 deletions