diff options
author | Sam Hansen <solid.se7en@gmail.com> | 2012-06-07 16:03:48 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-11 09:04:15 -0700 |
commit | 80677c2538283678c7b2ef7ebbd653a3fa54d086 (patch) | |
tree | 91ac6d1ebe50561f3b09fdb0e8b3d5647dcdfd93 | |
parent | 94b8435ff4d46dde75173da45564b0d65889dc64 (diff) | |
download | linux-3.10-80677c2538283678c7b2ef7ebbd653a3fa54d086.tar.gz linux-3.10-80677c2538283678c7b2ef7ebbd653a3fa54d086.tar.bz2 linux-3.10-80677c2538283678c7b2ef7ebbd653a3fa54d086.zip |
staging: zram: conventions, __aligned() attribute
Using the __aligned() attribute in favor of __attribute__((aligned(size)))
Signed-off-by: Sam Hansen <solid.se7en@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/zram/zram_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/zram/zram_drv.h b/drivers/staging/zram/zram_drv.h index 9711d1e281f..572c0b1551d 100644 --- a/drivers/staging/zram/zram_drv.h +++ b/drivers/staging/zram/zram_drv.h @@ -70,7 +70,7 @@ struct table { u16 size; /* object size (excluding header) */ u8 count; /* object ref count (not yet used) */ u8 flags; -} __attribute__((aligned(4))); +} __aligned(4); struct zram_stats { u64 compr_size; /* compressed size of pages stored */ |