diff options
author | 2010-03-23 19:09:51 +0100 | |
---|---|---|
committer | 2010-05-04 11:35:07 +0200 | |
commit | 8f5a2dd83a1f8e89fdc17eb0f2f07c2e713e635a (patch) | |
tree | 6d9aeaa4b18d5b01e67b1391e1784793bfe4136a /lib/bug.c | |
parent | oprofile: update file list in MAINTAINERS file (diff) | |
download | wireguard-linux-8f5a2dd83a1f8e89fdc17eb0f2f07c2e713e635a.tar.xz wireguard-linux-8f5a2dd83a1f8e89fdc17eb0f2f07c2e713e635a.zip |
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 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions