mm: use macros from compiler.h instead of __attribute__((...))
[deliverable/linux.git] / mm / nommu.c
index 5d3f3524bbdc83b7ed2eceaf6ce064c3917bba51..e68deff6d44762a5888430f5c3a36da0866717a4 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/vmalloc.h>
 #include <linux/blkdev.h>
 #include <linux/backing-dev.h>
+#include <linux/compiler.h>
 #include <linux/mount.h>
 #include <linux/personality.h>
 #include <linux/security.h>
@@ -460,7 +461,7 @@ EXPORT_SYMBOL_GPL(vm_unmap_aliases);
  * Implement a stub for vmalloc_sync_all() if the architecture chose not to
  * have one.
  */
-void  __attribute__((weak)) vmalloc_sync_all(void)
+void __weak vmalloc_sync_all(void)
 {
 }
 
This page took 0.02444 seconds and 5 git commands to generate.