diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-01-20 09:32:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-01-20 15:14:18 -0800 |
commit | 7350968193f9b94c4a4b7d14d7a44333a322c5d7 (patch) | |
tree | 5b83032f7b5db529003e904e2d16ecd40f140f7f /drivers/staging/hv/blkvsc.c | |
parent | cc04acf53fb1bba1e57b0d34a400ccaf498fc9be (diff) | |
download | op-kernel-dev-7350968193f9b94c4a4b7d14d7a44333a322c5d7.zip op-kernel-dev-7350968193f9b94c4a4b7d14d7a44333a322c5d7.tar.gz |
staging/hv/osd: don't reimplement ALIGN macro
The ALIGN_DOWN macro was only used in NUM_PAGES_SPANNED. So make the
latter easier and get rid of the former.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/blkvsc.c')
-rw-r--r-- | drivers/staging/hv/blkvsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/blkvsc.c b/drivers/staging/hv/blkvsc.c index bc16d91..11a2523 100644 --- a/drivers/staging/hv/blkvsc.c +++ b/drivers/staging/hv/blkvsc.c @@ -85,7 +85,7 @@ int blk_vsc_initialize(struct hv_driver *driver) */ stor_driver->max_outstanding_req_per_channel = ((stor_driver->ring_buffer_size - PAGE_SIZE) / - ALIGN_UP(MAX_MULTIPAGE_BUFFER_PACKET + + ALIGN(MAX_MULTIPAGE_BUFFER_PACKET + sizeof(struct vstor_packet) + sizeof(u64), sizeof(u64))); |