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
ebb6bf1e
Commit
ebb6bf1e
authored
Sep 29, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[KERNEL]: Do not export set_cpus_allowed twice, and only if CONFIG_SMP.
parent
3a6f68b5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
kernel/ksyms.c
kernel/ksyms.c
+0
-3
kernel/sched.c
kernel/sched.c
+1
-1
No files found.
kernel/ksyms.c
View file @
ebb6bf1e
...
...
@@ -352,9 +352,6 @@ EXPORT_SYMBOL_GPL(__wake_up_sync); /* internal use only */
#endif
EXPORT_SYMBOL
(
schedule_timeout
);
EXPORT_SYMBOL_GPL
(
idle_cpu
);
#ifdef CONFIG_SMP
EXPORT_SYMBOL_GPL
(
set_cpus_allowed
);
#endif
#if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT)
EXPORT_SYMBOL
(
kernel_flag
);
#endif
...
...
kernel/sched.c
View file @
ebb6bf1e
...
...
@@ -2574,6 +2574,7 @@ int set_cpus_allowed(task_t *p, cpumask_t new_mask)
wait_for_completion
(
&
req
.
done
);
return
0
;
}
EXPORT_SYMBOL
(
set_cpus_allowed
);
/* Move (not current) task off this cpu, onto dest cpu. */
static
void
move_task_away
(
struct
task_struct
*
p
,
int
dest_cpu
)
...
...
@@ -2874,7 +2875,6 @@ EXPORT_SYMBOL(interruptible_sleep_on);
EXPORT_SYMBOL
(
interruptible_sleep_on_timeout
);
EXPORT_SYMBOL
(
io_schedule
);
EXPORT_SYMBOL
(
schedule
);
EXPORT_SYMBOL
(
set_cpus_allowed
);
EXPORT_SYMBOL
(
set_user_nice
);
EXPORT_SYMBOL
(
sleep_on
);
EXPORT_SYMBOL
(
sleep_on_timeout
);
...
...
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