]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: gart alloc_coherent doesn't need to check NULL device argument
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Fri, 5 Sep 2008 08:58:49 +0000 (17:58 +0900)
committerIngo Molnar <mingo@elte.hu>
Fri, 5 Sep 2008 10:48:13 +0000 (12:48 +0200)
commit551b4545bf9658dc5ae5a1277dcd4d7bf0028b28
tree05624847e914051a6bbc82f91d3b19674855e254
parent421076e2bec1b917bdcf83da35b24f6349bf35db
x86: gart alloc_coherent doesn't need to check NULL device argument

asm/dma-mapping.h guarantees that gart alloc_coherent doesn't get NULL
device argument.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-gart_64.c