commit | 8f5a2dd83a1f8e89fdc17eb0f2f07c2e713e635a | [log] [tgz] |
---|---|---|
author | Robert Richter <robert.richter@amd.com> | Tue Mar 23 19:09:51 2010 +0100 |
committer | Robert Richter <robert.richter@amd.com> | Tue May 04 11:35:07 2010 +0200 |
tree | 6d9aeaa4b18d5b01e67b1391e1784793bfe4136a | |
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>