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
a7a93360
Commit
a7a93360
authored
Sep 29, 2003
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o kernel/ksyms.c: move relevant EXPORT_SYMBOLs to kernel/sched.c
parent
4822a916
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
28 deletions
+31
-28
kernel/ksyms.c
kernel/ksyms.c
+0
-28
kernel/sched.c
kernel/sched.c
+31
-0
No files found.
kernel/ksyms.c
View file @
a7a93360
...
@@ -45,7 +45,6 @@
...
@@ -45,7 +45,6 @@
#include <linux/uio.h>
#include <linux/uio.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/in6.h>
#include <linux/in6.h>
#include <linux/completion.h>
#include <linux/seq_file.h>
#include <linux/seq_file.h>
#include <linux/binfmts.h>
#include <linux/binfmts.h>
#include <linux/namei.h>
#include <linux/namei.h>
...
@@ -339,10 +338,6 @@ EXPORT_SYMBOL(prepare_to_wait_exclusive);
...
@@ -339,10 +338,6 @@ EXPORT_SYMBOL(prepare_to_wait_exclusive);
EXPORT_SYMBOL
(
finish_wait
);
EXPORT_SYMBOL
(
finish_wait
);
EXPORT_SYMBOL
(
autoremove_wake_function
);
EXPORT_SYMBOL
(
autoremove_wake_function
);
/* completion handling */
EXPORT_SYMBOL
(
wait_for_completion
);
EXPORT_SYMBOL
(
complete
);
/* The notion of irq probe/assignment is foreign to S/390 */
/* The notion of irq probe/assignment is foreign to S/390 */
#if !defined(CONFIG_ARCH_S390)
#if !defined(CONFIG_ARCH_S390)
...
@@ -374,26 +369,10 @@ EXPORT_SYMBOL(iomem_resource);
...
@@ -374,26 +369,10 @@ EXPORT_SYMBOL(iomem_resource);
/* process management */
/* process management */
EXPORT_SYMBOL
(
complete_and_exit
);
EXPORT_SYMBOL
(
complete_and_exit
);
EXPORT_SYMBOL
(
default_wake_function
);
EXPORT_SYMBOL
(
__wake_up
);
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
EXPORT_SYMBOL_GPL
(
__wake_up_sync
);
/* internal use only */
EXPORT_SYMBOL_GPL
(
__wake_up_sync
);
/* internal use only */
#endif
#endif
EXPORT_SYMBOL
(
wake_up_process
);
EXPORT_SYMBOL
(
sleep_on
);
EXPORT_SYMBOL
(
sleep_on_timeout
);
EXPORT_SYMBOL
(
interruptible_sleep_on
);
EXPORT_SYMBOL
(
interruptible_sleep_on_timeout
);
EXPORT_SYMBOL
(
schedule
);
#ifdef CONFIG_PREEMPT
EXPORT_SYMBOL
(
preempt_schedule
);
#endif
EXPORT_SYMBOL
(
schedule_timeout
);
EXPORT_SYMBOL
(
schedule_timeout
);
EXPORT_SYMBOL
(
yield
);
EXPORT_SYMBOL
(
io_schedule
);
EXPORT_SYMBOL
(
__cond_resched
);
EXPORT_SYMBOL
(
set_user_nice
);
EXPORT_SYMBOL
(
task_nice
);
EXPORT_SYMBOL_GPL
(
idle_cpu
);
EXPORT_SYMBOL_GPL
(
idle_cpu
);
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
EXPORT_SYMBOL_GPL
(
set_cpus_allowed
);
EXPORT_SYMBOL_GPL
(
set_cpus_allowed
);
...
@@ -410,13 +389,6 @@ EXPORT_SYMBOL(do_settimeofday);
...
@@ -410,13 +389,6 @@ EXPORT_SYMBOL(do_settimeofday);
#if (BITS_PER_LONG < 64)
#if (BITS_PER_LONG < 64)
EXPORT_SYMBOL
(
get_jiffies_64
);
EXPORT_SYMBOL
(
get_jiffies_64
);
#endif
#endif
#ifdef CONFIG_DEBUG_SPINLOCK_SLEEP
EXPORT_SYMBOL
(
__might_sleep
);
#endif
#if defined(CONFIG_SMP) && defined(CONFIG_PREEMPT)
EXPORT_SYMBOL
(
__preempt_spin_lock
);
EXPORT_SYMBOL
(
__preempt_write_lock
);
#endif
#if !defined(__ia64__)
#if !defined(__ia64__)
EXPORT_SYMBOL
(
loops_per_jiffy
);
EXPORT_SYMBOL
(
loops_per_jiffy
);
#endif
#endif
...
...
kernel/sched.c
View file @
a7a93360
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
*/
*/
#include <linux/mm.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/nmi.h>
#include <linux/nmi.h>
#include <linux/init.h>
#include <linux/init.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
...
@@ -2862,3 +2863,33 @@ void __preempt_write_lock(rwlock_t *lock)
...
@@ -2862,3 +2863,33 @@ void __preempt_write_lock(rwlock_t *lock)
}
while
(
!
_raw_write_trylock
(
lock
));
}
while
(
!
_raw_write_trylock
(
lock
));
}
}
#endif
#endif
EXPORT_SYMBOL
(
__cond_resched
);
EXPORT_SYMBOL
(
__wake_up
);
EXPORT_SYMBOL
(
__wake_up_sync
);
EXPORT_SYMBOL
(
complete
);
EXPORT_SYMBOL
(
default_wake_function
);
EXPORT_SYMBOL
(
idle_cpu
);
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
);
EXPORT_SYMBOL
(
task_nice
);
EXPORT_SYMBOL
(
wait_for_completion
);
EXPORT_SYMBOL
(
wake_up_process
);
EXPORT_SYMBOL
(
yield
);
#ifdef CONFIG_DEBUG_SPINLOCK_SLEEP
EXPORT_SYMBOL
(
__might_sleep
);
#endif
#ifdef CONFIG_PREEMPT
#ifdef CONFIG_SMP
EXPORT_SYMBOL
(
__preempt_spin_lock
);
EXPORT_SYMBOL
(
__preempt_write_lock
);
#endif
EXPORT_SYMBOL
(
preempt_schedule
);
#endif
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