diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 08:41:41 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 13:07:53 -0400 |
| commit | 816724e65c72a90a44fbad0ef0b59b186c85fa90 (patch) | |
| tree | 421fa29aedff988e392f92780637553e275d37a0 /drivers/ide/ide-dma.c | |
| parent | 70ac4385a13f78bc478f26d317511893741b05bd (diff) | |
| parent | d384ea691fe4ea8c2dd5b9b8d9042eb181776f18 (diff) | |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Conflicts:
fs/nfs/inode.c
fs/super.c
Fix conflicts between patch 'NFS: Split fs/nfs/inode.c' and patch
'VFS: Permit filesystem to override root dentry on mount'
Diffstat (limited to 'drivers/ide/ide-dma.c')
| -rw-r--r-- | drivers/ide/ide-dma.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c index c481be8b807f..783a2475ee8b 100644 --- a/drivers/ide/ide-dma.c +++ b/drivers/ide/ide-dma.c | |||
| @@ -206,8 +206,7 @@ int ide_build_sglist(ide_drive_t *drive, struct request *rq) | |||
| 206 | ide_hwif_t *hwif = HWIF(drive); | 206 | ide_hwif_t *hwif = HWIF(drive); |
| 207 | struct scatterlist *sg = hwif->sg_table; | 207 | struct scatterlist *sg = hwif->sg_table; |
| 208 | 208 | ||
| 209 | if ((rq->flags & REQ_DRIVE_TASKFILE) && rq->nr_sectors > 256) | 209 | BUG_ON((rq->flags & REQ_DRIVE_TASKFILE) && rq->nr_sectors > 256); |
| 210 | BUG(); | ||
| 211 | 210 | ||
| 212 | ide_map_sg(drive, rq); | 211 | ide_map_sg(drive, rq); |
| 213 | 212 | ||
| @@ -947,8 +946,7 @@ void ide_setup_dma (ide_hwif_t *hwif, unsigned long dma_base, unsigned int num_p | |||
| 947 | } | 946 | } |
| 948 | printk("\n"); | 947 | printk("\n"); |
| 949 | 948 | ||
| 950 | if (!(hwif->dma_master)) | 949 | BUG_ON(!hwif->dma_master); |
| 951 | BUG(); | ||
| 952 | } | 950 | } |
| 953 | 951 | ||
| 954 | EXPORT_SYMBOL_GPL(ide_setup_dma); | 952 | EXPORT_SYMBOL_GPL(ide_setup_dma); |
