1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-10-15 19:33:17 +03:00

Adjust some alignments for ia64 and sparc.

(Some of the changes are probably unnecessary.)
This commit is contained in:
Alasdair Kergon
2006-11-30 23:11:42 +00:00
parent 224084f056
commit ee68d715bf
24 changed files with 65 additions and 63 deletions

View File

@@ -605,7 +605,7 @@ int dev_write(struct device *dev, uint64_t offset, size_t len, void *buffer)
int dev_set(struct device *dev, uint64_t offset, size_t len, int value)
{
size_t s;
char buffer[4096];
char buffer[4096] __attribute((aligned(8)));
if (!dev_open(dev)) {
stack;