]> git.baikalelectronics.ru Git - kernel.git/commit
oprofile, x86: Simplify init/exit functions
authorRobert Richter <robert.richter@amd.com>
Thu, 30 Sep 2010 16:55:47 +0000 (18:55 +0200)
committerRobert Richter <robert.richter@amd.com>
Fri, 1 Oct 2010 15:05:47 +0000 (17:05 +0200)
commit2fadad596c5a361759d7e58b6bf1e0c2ef636674
treeabb2938ef04b4b2844a6960b4635f84a71ccb83c
parent78c1fd519946dcab942984554bb9d4149d76a6ae
oprofile, x86: Simplify init/exit functions

Now, that we only call the exit function if init succeeds with commit:

 96b561b oprofile: don't call arch exit code from init code on failure

we can simplify the x86 init/exit functions too. Variable using_nmi
becomes obsolete.

Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/nmi_int.c