Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=664c0d3d575946bce24ecf5b7f93ee9541e4caf3
Commit:     664c0d3d575946bce24ecf5b7f93ee9541e4caf3
Parent:     9c61a446a1cab4280404798e335655266c1a4929
Author:     Vivek Goyal <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 10 23:15:36 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu Jan 11 18:18:20 2007 -0800

    [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 <[EMAIL PROTECTED]>
    Cc: Andi Kleen <[EMAIL PROTECTED]>
    Cc: Thomas Gleixner <[EMAIL PROTECTED]>
    Cc: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 arch/i386/kernel/tsc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/i386/kernel/tsc.c b/arch/i386/kernel/tsc.c
index 1bbe45d..2cfc7b0 100644
--- a/arch/i386/kernel/tsc.c
+++ b/arch/i386/kernel/tsc.c
@@ -24,7 +24,7 @@
  */
 unsigned int tsc_khz;
 
-int tsc_disable __cpuinitdata = 0;
+int tsc_disable;
 
 #ifdef CONFIG_X86_TSC
 static int __init tsc_setup(char *str)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to