Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0ac633b23db91e48210179e31dd88ad9e9a8aba9
Commit:     0ac633b23db91e48210179e31dd88ad9e9a8aba9
Parent:     28af24bb8470c7d0573b703a2955548b73a6c066
Author:     Randy Dunlap <[EMAIL PROTECTED]>
AuthorDate: Sun Nov 19 18:52:28 2006 -0800
Committer:  Dave Jones <[EMAIL PROTECTED]>
CommitDate: Tue Dec 12 18:10:52 2006 -0500

    [AGPGART] 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 <[EMAIL PROTECTED]>
    Signed-off-by: Dave Jones <[EMAIL PROTECTED]>
---
 drivers/char/agp/amd64-agp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c
index 00b17ae..2f2c4ef 100644
--- a/drivers/char/agp/amd64-agp.c
+++ b/drivers/char/agp/amd64-agp.c
@@ -459,7 +459,7 @@ static const struct aper_size_info_32 nforce3_sizes[5] =
 
 /* Handle shadow device of the Nvidia NForce3 */
 /* CHECK-ME original 2.4 version set up some IORRs. Check if that is needed. */
-static int __devinit nforce3_agp_init(struct pci_dev *pdev)
+static int nforce3_agp_init(struct pci_dev *pdev)
 {
        u32 tmp, apbase, apbar, aplimit;
        struct pci_dev *dev1;
-
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