|
@@ -126,6 +126,8 @@ extern struct cred init_cred;
|
|
# define INIT_PERF_EVENTS(tsk)
|
|
# define INIT_PERF_EVENTS(tsk)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#define INIT_TASK_COMM "swapper"
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* INIT_TASK is used to set up the first task table, touch at
|
|
* INIT_TASK is used to set up the first task table, touch at
|
|
* your own risk!. Base=0, limit=0x1fffff (=2MB)
|
|
* your own risk!. Base=0, limit=0x1fffff (=2MB)
|
|
@@ -162,7 +164,7 @@ extern struct cred init_cred;
|
|
.group_leader = &tsk, \
|
|
.group_leader = &tsk, \
|
|
RCU_INIT_POINTER(.real_cred, &init_cred), \
|
|
RCU_INIT_POINTER(.real_cred, &init_cred), \
|
|
RCU_INIT_POINTER(.cred, &init_cred), \
|
|
RCU_INIT_POINTER(.cred, &init_cred), \
|
|
- .comm = "swapper", \
|
|
|
|
|
|
+ .comm = INIT_TASK_COMM, \
|
|
.thread = INIT_THREAD, \
|
|
.thread = INIT_THREAD, \
|
|
.fs = &init_fs, \
|
|
.fs = &init_fs, \
|
|
.files = &init_files, \
|
|
.files = &init_files, \
|