Commit 65f60187 authored by Matt Mackall's avatar Matt Mackall Committed by Linus Torvalds

[PATCH] base-small: shrink timer hashes

CONFIG_BASE_SMALL reduce timer list hashes
Signed-off-by: default avatarMatt Mackall <mpm@selenic.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 731184f5
......@@ -48,8 +48,9 @@ static void time_interpolator_update(long delta_nsec);
/*
* per-CPU timer vector definitions:
*/
#define TVN_BITS 6
#define TVR_BITS 8
#define TVN_BITS (CONFIG_BASE_SMALL ? 4 : 6)
#define TVR_BITS (CONFIG_BASE_SMALL ? 6 : 8)
#define TVN_SIZE (1 << TVN_BITS)
#define TVR_SIZE (1 << TVR_BITS)
#define TVN_MASK (TVN_SIZE - 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment