diff options
author | Rakib Mullick <rakib.mullick@gmail.com> | 2011-05-27 01:26:00 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-27 02:12:37 +0200 |
commit | 6f7bd76f05eb2bfbb48d58c0408a50a7e16b2423 (patch) | |
tree | a6a5c66d200e112cc629b392eafbaa026e1c57bf /kernel/nsproxy.c | |
parent | drivers/char/ppdev.c: put gotten port value (diff) | |
download | linux-6f7bd76f05eb2bfbb48d58c0408a50a7e16b2423.tar.xz linux-6f7bd76f05eb2bfbb48d58c0408a50a7e16b2423.zip |
kernel/profile.c: remove some duplicate code from profile_hits()
profile_hits() has a common check for prof_on and prof_buffer regardless
of SMP or !SMP. So, remove some duplicate code by splitting profile_hits
into two.
[akpm@linux-foundation.org: make do_profile_hits static]
Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/nsproxy.c')
0 files changed, 0 insertions, 0 deletions