kernel/kprobes.c: don't pad kretprobe_table_locks[] on uniprocessor builds
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 12 Nov 2008 21:26:57 +0000 (13:26 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Nov 2008 01:17:17 +0000 (17:17 -0800)
commit7e036d040a28bf95255d7eb9faf0ffbba3677e99
tree98203974c15ae4fc5aee5723b385b0f45c331ec7
parent084c304980f05833bc8a91b856af7dc7a7bb7d60
kernel/kprobes.c: don't pad kretprobe_table_locks[] on uniprocessor builds

We only need the cacheline padding on SMP kernels.  Saves 6k:

   text    data     bss     dec     hex filename
   5713     388    8840   14941    3a5d kernel/kprobes.o
   5713     388    2632    8733    221d kernel/kprobes.o

Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/kprobes.c