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 /include/linux/ide.h | |
parent | 8185d5aa93e0a5c111adc4952a5b87193a68ae5b (diff) |
ide: remove SECTOR_WORDS define
Just use SECTOR_SIZE instead.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 4667ec8aeebb..4444b0884e5d 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -126,7 +126,7 @@ struct ide_io_ports { | |||
126 | #define PARTN_BITS 6 /* number of minor dev bits for partitions */ | 126 | #define PARTN_BITS 6 /* number of minor dev bits for partitions */ |
127 | #define MAX_DRIVES 2 /* per interface; 2 assumed by lots of code */ | 127 | #define MAX_DRIVES 2 /* per interface; 2 assumed by lots of code */ |
128 | #define SECTOR_SIZE 512 | 128 | #define SECTOR_SIZE 512 |
129 | #define SECTOR_WORDS (SECTOR_SIZE / 4) /* number of 32bit words per sector */ | 129 | |
130 | #define IDE_LARGE_SEEK(b1,b2,t) (((b1) > (b2) + (t)) || ((b2) > (b1) + (t))) | 130 | #define IDE_LARGE_SEEK(b1,b2,t) (((b1) > (b2) + (t)) || ((b2) > (b1) + (t))) |
131 | 131 | ||
132 | /* | 132 | /* |