clocksource: Replace vread with generic arch data
authorAndy Lutomirski <luto@mit.edu>
Wed, 13 Jul 2011 13:24:13 +0000 (09:24 -0400)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 13 Jul 2011 18:23:12 +0000 (11:23 -0700)
commit433bd805e5fd2c731b3a9025b034f066272d336e
tree3c319294f98d048146ba1b082241aee197c7d0cf
parent7f79ad15f33cf4968cafb0e3d2beba427de01d3a
clocksource: Replace vread with generic arch data

The vread field was bloating struct clocksource everywhere except
x86_64, and I want to change the way this works on x86_64, so let's
split it out into per-arch data.

Cc: x86@kernel.org
Cc: Clemens Ladisch <clemens@ladisch.de>
Cc: linux-ia64@vger.kernel.org
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: John Stultz <johnstul@us.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andy Lutomirski <luto@mit.edu>
Link: http://lkml.kernel.org/r/3ae5ec76a168eaaae63f08a2a1060b91aa0b7759.1310563276.git.luto@mit.edu
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/clocksource.h [new file with mode: 0644]
arch/x86/kernel/hpet.c
arch/x86/kernel/tsc.c
arch/x86/kernel/vsyscall_64.c
include/asm-generic/clocksource.h [new file with mode: 0644]
include/linux/clocksource.h