Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35846
b: refs/heads/master
c: 145106e
h: refs/heads/master
v: v3
  • Loading branch information
Muli Ben-Yehuda authored and Andi Kleen committed Sep 26, 2006
1 parent aa6e26f commit b60637f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 29a6c25bd63dbd52e73d25268402d065ad84c0fe
refs/heads/master: 145106e81090fcdfb57b7f2e90b98c6445b6f33d
3 changes: 0 additions & 3 deletions trunk/arch/x86_64/kernel/pci-gart.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,6 @@ dma_addr_t gart_map_single(struct device *dev, void *addr, size_t size, int dir)
{
unsigned long phys_mem, bus;

BUG_ON(dir == DMA_NONE);

if (!dev)
dev = &fallback_dev;

Expand Down Expand Up @@ -383,7 +381,6 @@ int gart_map_sg(struct device *dev, struct scatterlist *sg, int nents, int dir)
unsigned long pages = 0;
int need = 0, nextneed;

BUG_ON(dir == DMA_NONE);
if (nents == 0)
return 0;

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/x86_64/kernel/pci-nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ int nommu_map_sg(struct device *hwdev, struct scatterlist *sg,
{
int i;

BUG_ON(direction == DMA_NONE);
for (i = 0; i < nents; i++ ) {
struct scatterlist *s = &sg[i];
BUG_ON(!s->page);
Expand Down

0 comments on commit b60637f

Please sign in to comment.