lkml.org 
[lkml]   [2007]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 13/33] Fix bogus inline directive in sparc64 PCI code
    -stable review patch.  If anyone has any objections, please let us know.

    ------------------
    From: Tom "spot" Callaway <tcallawa@redhat.com>

    [SPARC64]: Fix inline directive in pci_iommu.c

    While building a test kernel for the new esp driver (against
    git-current), I hit this bug. Trivial fix, put the inline declaration
    in the right place. :)

    Signed-off-by: Tom "spot" Callaway <tcallawa@redhat.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    arch/sparc64/kernel/pci_iommu.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/arch/sparc64/kernel/pci_iommu.c
    +++ b/arch/sparc64/kernel/pci_iommu.c
    @@ -64,7 +64,7 @@ static void __iommu_flushall(struct pci_
    #define IOPTE_IS_DUMMY(iommu, iopte) \
    ((iopte_val(*iopte) & IOPTE_PAGE) == (iommu)->dummy_page_pa)

    -static void inline iopte_make_dummy(struct pci_iommu *iommu, iopte_t *iopte)
    +static inline void iopte_make_dummy(struct pci_iommu *iommu, iopte_t *iopte)
    {
    unsigned long val = iopte_val(*iopte);

    --
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-04-26 19:15    [W:0.024 / U:31.968 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site