]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] i386: make x86_64 tsc header require i386 rather than vice-versa
authorAndres Salomon <dilinger@debian.org>
Tue, 6 Mar 2007 09:42:05 +0000 (01:42 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 6 Mar 2007 17:30:24 +0000 (09:30 -0800)
commit4716158e710e8ec8e941c1c114c6eab23d9dd4f9
treee4563e3d3d72566d2c5023dec111c398d2f91cc6
parent34dc53f1dd85af20d51b76343a47c7e581400e86
[PATCH] i386: make x86_64 tsc header require i386 rather than vice-versa

Prior to commit 657a4bb54d1748429245d16ac9154a8193a9a03e ([PATCH] x86:
rewrite SMP TSC sync code), the headers in asm-i386 did not really require
anything in include/asm-x86_64.  This means that distributions such as
fedora did not include asm-x86_64 in kernel-devel headers for i386.  Ingo's
commit changed that, and broke things.  This is easy enough to hack around
in package builds by just including asm-x86_64 on i386, but that's kind of
annoying.  If anything, x86_64 should depend upon i386, not the other way
around.

This patch changes it so that asm-x86_64/tsc.h includes asm-i386/tsc.h,
rather than vice-versa.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-i386/tsc.h
include/asm-x86_64/tsc.h