]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/fork.c
of: fix CONFIG_OF=n prototype of of_node_full_name()
[karo-tx-linux.git] / kernel / fork.c
index e905e9c6b224a98cdea7c2272c658647610bb852..54a8d26f612f76f17cfb883e29786df98a9de0e0 100644 (file)
@@ -73,6 +73,7 @@
 #include <linux/signalfd.h>
 #include <linux/uprobes.h>
 #include <linux/aio.h>
+#include <linux/compiler.h>
 
 #include <asm/pgtable.h>
 #include <asm/pgalloc.h>
@@ -286,7 +287,7 @@ void __init fork_init(unsigned long mempages)
                init_task.signal->rlim[RLIMIT_NPROC];
 }
 
-int __attribute__((weak)) arch_dup_task_struct(struct task_struct *dst,
+int __weak arch_dup_task_struct(struct task_struct *dst,
                                               struct task_struct *src)
 {
        *dst = *src;