From: Vivek Goyal Date: Thu, 11 Jan 2007 07:15:36 +0000 (-0800) Subject: [PATCH] i386: sched_clock using init data tsc_disable fix X-Git-Tag: v2.6.20-rc5~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=664c0d3d575946bce24ecf5b7f93ee9541e4caf3;p=pandora-kernel.git [PATCH] i386: sched_clock using init data tsc_disable fix o sched_clock() a non-init function is using init data tsc_disable. This is flagged by MODPOST on i386 if CONFIG_RELOCATABLE=y WARNING: vmlinux - Section mismatch: reference to .init.data:tsc_disable from .text between 'sched_clock' (at offset 0xc0109d58) and 'tsc_update_callback' Signed-off-by: Vivek Goyal Cc: Andi Kleen Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed