diff options
author | Rakib Mullick <rakib.mullick@gmail.com> | 2011-05-26 16:26:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-26 17:12:37 -0700 |
commit | 6f7bd76f05eb2bfbb48d58c0408a50a7e16b2423 (patch) | |
tree | a6a5c66d200e112cc629b392eafbaa026e1c57bf /fs | |
parent | d98808a253f209465ed9f415c565f4c294a213b8 (diff) |
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 'fs')
0 files changed, 0 insertions, 0 deletions