lkml.org 
[lkml]   [2007]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] [21/45] x86_64: Some cleanups for pci gart code
    Date

    - Mark function static
    - Clarify license

    Signed-off-by: Andi Kleen <ak@suse.de>

    ---
    arch/x86_64/kernel/pci-gart.c | 4 +++-
    1 file changed, 3 insertions(+), 1 deletion(-)

    Index: linux/arch/x86_64/kernel/pci-gart.c
    ===================================================================
    --- linux.orig/arch/x86_64/kernel/pci-gart.c
    +++ linux/arch/x86_64/kernel/pci-gart.c
    @@ -8,6 +8,7 @@
    * See Documentation/DMA-mapping.txt for the interface specification.
    *
    * Copyright 2002 Andi Kleen, SuSE Labs.
    + * Subject to the GNU General Public License v2 only.
    */

    #include <linux/types.h>
    @@ -374,7 +375,8 @@ static inline int dma_map_cont(struct sc
    * DMA map all entries in a scatterlist.
    * Merge chunks that have page aligned sizes into a continuous mapping.
    */
    -int gart_map_sg(struct device *dev, struct scatterlist *sg, int nents, int dir)
    +static int gart_map_sg(struct device *dev, struct scatterlist *sg, int nents,
    + int dir)
    {
    int i;
    int out;
    -
    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-09-21 22:55    [W:4.058 / U:0.160 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site