summaryrefslogtreecommitdiff
path: root/drivers/staging/zram
diff options
context:
space:
mode:
authorSam Hansen <solid.se7en@gmail.com>2012-06-08 03:03:48 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-11 20:04:15 +0400
commit80677c2538283678c7b2ef7ebbd653a3fa54d086 (patch)
tree91ac6d1ebe50561f3b09fdb0e8b3d5647dcdfd93 /drivers/staging/zram
parent94b8435ff4d46dde75173da45564b0d65889dc64 (diff)
downloadlinux-80677c2538283678c7b2ef7ebbd653a3fa54d086.tar.xz
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>
Diffstat (limited to 'drivers/staging/zram')
-rw-r--r--drivers/staging/zram/zram_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/zram/zram_drv.h b/drivers/staging/zram/zram_drv.h
index 9711d1e281f1..572c0b1551d4 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 */