]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: split spinlock implementations out into their own files
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 23 Jul 2008 20:28:58 +0000 (13:28 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Jul 2008 10:31:51 +0000 (12:31 +0200)
commitd5de8841355a48f7f634a04507185eaf1f9755e3
tree48f9dbde3b77a15c2c6420d805b7a955a98f52f3
parent338b9bb3adac0d2c5a1e180491d9b001d624c402
x86: split spinlock implementations out into their own files

ftrace requires certain low-level code, like spinlocks and timestamps,
to be compiled without -pg in order to avoid infinite recursion.  This
patch splits out the core paravirt spinlocks and the Xen spinlocks
into separate files which can be compiled without -pg.

Also do xen/time.c while we're about it.  As a result, we can now use
ftrace within a Xen domain.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/Makefile
arch/x86/kernel/paravirt-spinlocks.c [new file with mode: 0644]
arch/x86/kernel/paravirt.c
arch/x86/xen/Makefile
arch/x86/xen/smp.c
arch/x86/xen/spinlock.c [new file with mode: 0644]
arch/x86/xen/xen-ops.h