commit | 6f7bd76f05eb2bfbb48d58c0408a50a7e16b2423 | [log] [tgz] |
---|---|---|
author | Rakib Mullick <rakib.mullick@gmail.com> | Thu May 26 16:26:00 2011 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu May 26 17:12:37 2011 -0700 |
tree | a6a5c66d200e112cc629b392eafbaa026e1c57bf | |
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>