]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - kernel/power/power.h
kernel: use macros from compiler.h instead of __attribute__((...))
[mirror_ubuntu-zesty-kernel.git] / kernel / power / power.h
index 1ca753106557f4d7de3f6586f86fe8f33593851b..15f37ea087191784e26a9d801bb128c5c3b43dd2 100644 (file)
@@ -2,6 +2,7 @@
 #include <linux/suspend_ioctls.h>
 #include <linux/utsname.h>
 #include <linux/freezer.h>
+#include <linux/compiler.h>
 
 struct swsusp_info {
        struct new_utsname      uts;
@@ -11,7 +12,7 @@ struct swsusp_info {
        unsigned long           image_pages;
        unsigned long           pages;
        unsigned long           size;
-} __attribute__((aligned(PAGE_SIZE)));
+} __aligned(PAGE_SIZE);
 
 #ifdef CONFIG_HIBERNATION
 /* kernel/power/snapshot.c */