mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[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]>
This commit is contained in:
parent
9c61a446a1
commit
664c0d3d57
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue