Adrian Bunk
b03f6489f9
build kernel/profile.o only when requested
...
Build kernel/profile.o only if CONFIG_PROFILING is enabled.
This makes CONFIG_PROFILING=n kernels smaller.
As a bonus, some profile_tick() calls and one branch from schedule() are
now eliminated with CONFIG_PROFILING=n (but I doubt these are
measurable effects).
This patch changes the effects of CONFIG_PROFILING=n, but I don't think
having more than two choices would be the better choice.
This patch also adds the name of the first parameter to the prototypes
of profile_{hits,tick}() since I anyway had to add them for the dummy
functions.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-25 10:53:27 -07:00
..
acpi
asm-alpha
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
asm-arm
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
asm-avr32
Merge branch 'semaphore' of git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc
2008-07-24 12:24:40 -07:00
asm-blackfin
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
asm-cris
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
asm-frv
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
asm-generic
asm-h8300
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
asm-ia64
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
asm-m32r
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
asm-m68k
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
asm-m68knommu
Merge branch 'semaphore' of git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc
2008-07-24 12:24:40 -07:00
asm-mips
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
asm-mn10300
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
asm-parisc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
asm-powerpc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
asm-s390
s390: use virtio_console for KVM on s390
2008-07-25 12:06:07 +10:00
asm-sh
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
asm-sparc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
asm-sparc64
asm-um
Merge branch 'semaphore' of git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc
2008-07-24 12:24:40 -07:00
asm-v850
asm-x86
x86-64: Clean up 'save/restore_i387()' usage
2008-07-24 16:12:40 -07:00
asm-xtensa
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-07-24 14:55:09 -07:00
crypto
drm
keys
linux
build kernel/profile.o only when requested
2008-07-25 10:53:27 -07:00
math-emu
media
mtd
net
include: use get/put_unaligned_* helpers
2008-07-25 10:53:26 -07:00
pcmcia
rdma
rxrpc
scsi
sound
video
neofb: drop the xtimings structure
2008-07-24 10:47:41 -07:00
xen
Kbuild