]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
x86: section mismatch fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 29 May 2008 07:01:28 +0000 (00:01 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 4 Jun 2008 11:11:47 +0000 (13:11 +0200)
commitbe524fb96081e9e511d993ebf39b05a32b19476e
tree14aa6462c322f03aa644bab58b039ee92f2fd456
parent282c454cd3a7041f59a37112bb2f82263bc38f6c
x86: section mismatch fix

Fix this:

 WARNING: vmlinux.o(.text+0x114bb): Section mismatch in reference from
 the function nopat() to the function .cpuinit.text:pat_disable()
 The function nopat() references
 the function __cpuinit pat_disable().
 This is often because nopat lacks a __cpuinit
 annotation or the annotation of pat_disable is wrong.

Reported-by: "Fabio Comolli" <fabio.comolli@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pat.c