]> xenbits.xen.org Git - xenclient/kernel.git/commit
commit 5b7c714ec27584b18279b741b6043016f8adb9de git-7af8b66004fa827958b4871112e59a07db5b3f6b
authort_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:20 +0000 (12:05 +0000)
committert_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:20 +0000 (12:05 +0000)
commit3e76ea0a30aba7df20d3be328ccccdb9be105686
tree77a58d252e8b773f3efd493fd0a0dfe17867e548
parentd71c73c2882b3311ee0efc2eaf9b558f3db84fb2
commit 5b7c714ec27584b18279b741b6043016f8adb9de
Author: Roland Dreier <roland@digitalvampire.org>
Date:   Sun Sep 24 20:09:33 2006 -0700

    [ATM] he: Fix __init/__devinit conflict

    he_init_one() is declared __devinit, but calls lots of init functions
    that are marked __init.  However, if CONFIG_HOTPLUG is enabled,
    __devinit functions go into normal .text, which leads to

        WARNING: drivers/atm/he.o - Section mismatch: reference to .init.text: from .text between 'he_start' (at offset 0x2130) and 'he_service_tbrq'

    Fix this by changing the __init functions to __devinit.

Signed-off-by: Roland Dreier <roland@digitalvampire.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/he.c