diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2010-09-21 17:50:58 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-09-21 17:50:58 -0500 |
commit | e1bb0a1a6c7c6d51443856ca90bd538b1ef5feeb (patch) | |
tree | ec271a0d224608382eb146d68298fd9e9fd0d3c9 /hw/sd.c | |
parent | f36d53ef6cb848d5cf204b0854b12e0359f0fd7e (diff) | |
parent | d9d334176c5dba23b47be07192f431b0c030928d (diff) |
Merge remote branch 'kwolf/for-anthony' into staging
Diffstat (limited to 'hw/sd.c')
-rw-r--r-- | hw/sd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -440,7 +440,7 @@ SDState *sd_init(BlockDriverState *bs, int is_spi) SDState *sd; sd = (SDState *) qemu_mallocz(sizeof(SDState)); - sd->buf = qemu_memalign(512, 512); + sd->buf = qemu_blockalign(bs, 512); sd->spi = is_spi; sd->enable = 1; sd_reset(sd, bs); |