Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
74ff698e
Commit
74ff698e
authored
Jun 23, 2003
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Rename init_thread_union to init_task_mem to avoid conflicting
declration in <linux/sched.h>.
parent
819a8739
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
arch/ia64/kernel/head.S
arch/ia64/kernel/head.S
+2
-2
arch/ia64/kernel/init_task.c
arch/ia64/kernel/init_task.c
+6
-6
No files found.
arch/ia64/kernel/head.S
View file @
74ff698e
...
...
@@ -144,13 +144,13 @@ start_ap:
movl
r3
=
task_for_booting_cpu
;;
ld8
r3
=[
r3
]
movl
r2
=
init_t
hread_union
movl
r2
=
init_t
ask
;;
cmp.eq
isBP
,
isAP
=
r3
,
r0
;;
(
isAP
)
mov
r2
=
r3
#else
movl
r2
=
init_t
hread_union
movl
r2
=
init_t
ask
cmp.eq
isBP
,
isAP
=
r0
,
r0
#endif
;;
...
...
arch/ia64/kernel/init_task.c
View file @
74ff698e
...
...
@@ -26,17 +26,17 @@ struct mm_struct init_mm = INIT_MM(init_mm);
* We need to make sure that this is properly aligned due to the way process stacks are
* handled. This is done by having a special ".data.init_task" section...
*/
#define init_thread_info init_t
hread_union
.s.thread_info
#define init_thread_info init_t
ask_mem
.s.thread_info
union
init_thread
{
static
union
{
struct
{
struct
task_struct
task
;
struct
thread_info
thread_info
;
}
s
;
unsigned
long
stack
[
KERNEL_STACK_SIZE
/
sizeof
(
unsigned
long
)];
}
init_t
hread_union
__attribute__
((
section
(
".data.init_task"
)))
=
{{
.
task
=
INIT_TASK
(
init_t
hread_union
.
s
.
task
),
.
thread_info
=
INIT_THREAD_INFO
(
init_t
hread_union
.
s
.
task
)
}
init_t
ask_mem
__attribute__
((
section
(
".data.init_task"
)))
=
{{
.
task
=
INIT_TASK
(
init_t
ask_mem
.
s
.
task
),
.
thread_info
=
INIT_THREAD_INFO
(
init_t
ask_mem
.
s
.
task
)
}};
asm
(
".global init_task; init_task = init_t
hread_union
"
);
asm
(
".global init_task; init_task = init_t
ask_mem
"
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment