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
nexedi
linux
Commits
18c26c27
Commit
18c26c27
authored
Oct 22, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
death to idle_regs()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
62e791c1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
22 deletions
+0
-22
arch/ia64/kernel/smpboot.c
arch/ia64/kernel/smpboot.c
+0
-5
arch/x86/include/asm/processor.h
arch/x86/include/asm/processor.h
+0
-2
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/common.c
+0
-9
kernel/fork.c
kernel/fork.c
+0
-6
No files found.
arch/ia64/kernel/smpboot.c
View file @
18c26c27
...
...
@@ -460,11 +460,6 @@ start_secondary (void *unused)
return
0
;
}
struct
pt_regs
*
__cpuinit
idle_regs
(
struct
pt_regs
*
regs
)
{
return
NULL
;
}
static
int
__cpuinit
do_boot_cpu
(
int
sapicid
,
int
cpu
,
struct
task_struct
*
idle
)
{
...
...
arch/x86/include/asm/processor.h
View file @
18c26c27
...
...
@@ -178,8 +178,6 @@ static inline int hlt_works(int cpu)
extern
void
cpu_detect
(
struct
cpuinfo_x86
*
c
);
extern
struct
pt_regs
*
idle_regs
(
struct
pt_regs
*
);
extern
void
early_cpu_init
(
void
);
extern
void
identify_boot_cpu
(
void
);
extern
void
identify_secondary_cpu
(
struct
cpuinfo_x86
*
);
...
...
arch/x86/kernel/cpu/common.c
View file @
18c26c27
...
...
@@ -1173,15 +1173,6 @@ DEFINE_PER_CPU(struct task_struct *, fpu_owner_task);
DEFINE_PER_CPU_ALIGNED
(
struct
stack_canary
,
stack_canary
);
#endif
/* Make sure %fs and %gs are initialized properly in idle threads */
struct
pt_regs
*
__cpuinit
idle_regs
(
struct
pt_regs
*
regs
)
{
memset
(
regs
,
0
,
sizeof
(
struct
pt_regs
));
regs
->
fs
=
__KERNEL_PERCPU
;
regs
->
gs
=
__KERNEL_STACK_CANARY
;
return
regs
;
}
#endif
/* CONFIG_X86_64 */
/*
...
...
kernel/fork.c
View file @
18c26c27
...
...
@@ -1514,12 +1514,6 @@ static struct task_struct *copy_process(unsigned long clone_flags,
return
ERR_PTR
(
retval
);
}
noinline
struct
pt_regs
*
__cpuinit
__attribute__
((
weak
))
idle_regs
(
struct
pt_regs
*
regs
)
{
memset
(
regs
,
0
,
sizeof
(
struct
pt_regs
));
return
regs
;
}
static
inline
void
init_idle_pids
(
struct
pid_link
*
links
)
{
enum
pid_type
type
;
...
...
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