]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/init_task.h
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux...
[karo-tx-linux.git] / include / linux / init_task.h
index 82be96564266ca80647a06833e386162b7537b81..e049526bc188f765c7521653cf6fb90a574bc673 100644 (file)
@@ -219,6 +219,12 @@ extern struct cred init_cred;
 # define INIT_TASK_TI(tsk)
 #endif
 
+#ifdef CONFIG_SECURITY
+#define INIT_TASK_SECURITY .security = NULL,
+#else
+#define INIT_TASK_SECURITY
+#endif
+
 /*
  *  INIT_TASK is used to set up the first task table, touch at
  * your own risk!. Base=0, limit=0x1fffff (=2MB)
@@ -298,6 +304,7 @@ extern struct cred init_cred;
        INIT_NUMA_BALANCING(tsk)                                        \
        INIT_KASAN(tsk)                                                 \
        INIT_LIVEPATCH(tsk)                                             \
+       INIT_TASK_SECURITY                                              \
 }