diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 16:39:28 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 16:39:28 -0400 |
commit | 151a670186a0f8441798f90c8701647adb7a1589 (patch) | |
tree | 6932543816b57d841515c48b536c38596bdad139 /drivers/ide/ide-iops.c | |
parent | 8185d5aa93e0a5c111adc4952a5b87193a68ae5b (diff) |
ide: remove SECTOR_WORDS define
Just use SECTOR_SIZE instead.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-iops.c')
-rw-r--r-- | drivers/ide/ide-iops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c index ee44878e40d0..6256c2df62cc 100644 --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-iops.c | |||
@@ -693,7 +693,7 @@ int ide_driveid_update(ide_drive_t *drive) | |||
693 | } | 693 | } |
694 | local_irq_save(flags); | 694 | local_irq_save(flags); |
695 | SELECT_MASK(drive, 0); | 695 | SELECT_MASK(drive, 0); |
696 | id = kmalloc(SECTOR_WORDS*4, GFP_ATOMIC); | 696 | id = kmalloc(SECTOR_SIZE, GFP_ATOMIC); |
697 | if (!id) { | 697 | if (!id) { |
698 | local_irq_restore(flags); | 698 | local_irq_restore(flags); |
699 | return 0; | 699 | return 0; |