From: Robert Richter Date: Tue, 23 Mar 2010 18:09:51 +0000 (+0100) Subject: oprofile/x86: rework error handler in nmi_setup() X-Git-Tag: v2.6.35-rc1~523^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f5a2dd83a1f8e89fdc17eb0f2f07c2e713e635a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed