From: Randy Dunlap Date: Thu, 7 Dec 2006 04:38:35 +0000 (-0800) Subject: [PATCH] agp-amd64: section mismatches with HOTPLUG=n X-Git-Tag: v2.6.20-rc1~145^2^2~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da015a6744f3648d34b83d1c4e015e6a798b8c56;p=pandora-kernel.git [PATCH] agp-amd64: section mismatches with HOTPLUG=n When CONFIG_HOTPLUG=n, agp_amd64_resume() calls nforce3_agp_init(), which is __devinit == __init, so has been discarded and is not usable for resume. WARNING: drivers/char/agp/amd64-agp.o - Section mismatch: reference to .init.text: from .text between 'agp_amd64_resume' (at offset 0x249) and 'amd64_tlbflush' Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed