aboutsummaryrefslogtreecommitdiffstats
path: root/lib/gen_crc32table.c
diff options
context:
space:
mode:
authorChuck Ebbert <76306.1226@compuserve.com>2006-09-29 01:59:14 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 09:18:06 -0700
commitc22f008ba226e2ff25ee1a56abd9c5fd355828fc (patch)
treeffa01da1cf0dec73de897889a1aa5f354f521df1 /lib/gen_crc32table.c
parent[PATCH] Fix parameter names in drivers/base/class.c (diff)
downloadlinux-dev-c22f008ba226e2ff25ee1a56abd9c5fd355828fc.tar.xz
linux-dev-c22f008ba226e2ff25ee1a56abd9c5fd355828fc.zip
[PATCH] spinlock_debug: don't recompute (jiffies_per_loop * HZ) in spinloop
In spinlock_debug.c, the spinloops call __delay() on every iteration. Because that is an external function, (jiffies_per_loop * HZ), the loop's iteration limit, gets recomputed every time. Caching it explicitly prevents that. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/gen_crc32table.c')
0 files changed, 0 insertions, 0 deletions