]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
x86: allow sched clock to be overridden by paravirt
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 30 Jan 2008 12:31:03 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:03 +0000 (13:31 +0100)
commit16e2011be67b8625c1c600f9742c2279be3c0c68
tree38ac1d9d31360cd02c15d4b4817b653bed40b967
parent751de83c0c94a5235f14cff8549d3b39e745eb2b
x86: allow sched clock to be overridden by paravirt

This patch turns the sched_clock into native_sched_clock.
sched clock becomes a weak symbol, which can then give its
place to a paravirt definition.

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/tsc_64.c