Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71524
b: refs/heads/master
c: a39bc51
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Oct 19, 2007
1 parent 79dd29e commit 6f8c7a2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a24efe62dd165be7d03431cf936ae17d345fed69
refs/heads/master: a39bc51691a0c8880b7d10fa7c2f034f3ba9a037
6 changes: 3 additions & 3 deletions trunk/kernel/exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ void reset_files_struct(struct task_struct *tsk, struct files_struct *files)
}
EXPORT_SYMBOL(reset_files_struct);

static inline void __exit_files(struct task_struct *tsk)
static void __exit_files(struct task_struct *tsk)
{
struct files_struct * files = tsk->files;

Expand All @@ -510,7 +510,7 @@ void exit_files(struct task_struct *tsk)
__exit_files(tsk);
}

static inline void __put_fs_struct(struct fs_struct *fs)
static void __put_fs_struct(struct fs_struct *fs)
{
/* No need to hold fs->lock if we are killing it */
if (atomic_dec_and_test(&fs->count)) {
Expand All @@ -531,7 +531,7 @@ void put_fs_struct(struct fs_struct *fs)
__put_fs_struct(fs);
}

static inline void __exit_fs(struct task_struct *tsk)
static void __exit_fs(struct task_struct *tsk)
{
struct fs_struct * fs = tsk->fs;

Expand Down
20 changes: 10 additions & 10 deletions trunk/kernel/fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ static struct task_struct *dup_task_struct(struct task_struct *orig)
}

#ifdef CONFIG_MMU
static inline int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm)
static int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm)
{
struct vm_area_struct *mpnt, *tmp, **pprev;
struct rb_node **rb_link, *rb_parent;
Expand Down Expand Up @@ -584,7 +584,7 @@ static int copy_mm(unsigned long clone_flags, struct task_struct * tsk)
return retval;
}

static inline struct fs_struct *__copy_fs_struct(struct fs_struct *old)
static struct fs_struct *__copy_fs_struct(struct fs_struct *old)
{
struct fs_struct *fs = kmem_cache_alloc(fs_cachep, GFP_KERNEL);
/* We don't need to lock fs - think why ;-) */
Expand Down Expand Up @@ -616,7 +616,7 @@ struct fs_struct *copy_fs_struct(struct fs_struct *old)

EXPORT_SYMBOL_GPL(copy_fs_struct);

static inline int copy_fs(unsigned long clone_flags, struct task_struct * tsk)
static int copy_fs(unsigned long clone_flags, struct task_struct *tsk)
{
if (clone_flags & CLONE_FS) {
atomic_inc(&current->fs->count);
Expand Down Expand Up @@ -819,7 +819,7 @@ int unshare_files(void)

EXPORT_SYMBOL(unshare_files);

static inline int copy_sighand(unsigned long clone_flags, struct task_struct * tsk)
static int copy_sighand(unsigned long clone_flags, struct task_struct *tsk)
{
struct sighand_struct *sig;

Expand All @@ -842,7 +842,7 @@ void __cleanup_sighand(struct sighand_struct *sighand)
kmem_cache_free(sighand_cachep, sighand);
}

static inline int copy_signal(unsigned long clone_flags, struct task_struct * tsk)
static int copy_signal(unsigned long clone_flags, struct task_struct *tsk)
{
struct signal_struct *sig;
int ret;
Expand Down Expand Up @@ -924,7 +924,7 @@ void __cleanup_signal(struct signal_struct *sig)
kmem_cache_free(signal_cachep, sig);
}

static inline void cleanup_signal(struct task_struct *tsk)
static void cleanup_signal(struct task_struct *tsk)
{
struct signal_struct *sig = tsk->signal;

Expand All @@ -934,7 +934,7 @@ static inline void cleanup_signal(struct task_struct *tsk)
__cleanup_signal(sig);
}

static inline void copy_flags(unsigned long clone_flags, struct task_struct *p)
static void copy_flags(unsigned long clone_flags, struct task_struct *p)
{
unsigned long new_flags = p->flags;

Expand All @@ -953,7 +953,7 @@ asmlinkage long sys_set_tid_address(int __user *tidptr)
return task_pid_vnr(current);
}

static inline void rt_mutex_init_task(struct task_struct *p)
static void rt_mutex_init_task(struct task_struct *p)
{
spin_lock_init(&p->pi_lock);
#ifdef CONFIG_RT_MUTEXES
Expand Down Expand Up @@ -1385,7 +1385,7 @@ struct task_struct * __cpuinit fork_idle(int cpu)
return task;
}

static inline int fork_traceflag (unsigned clone_flags)
static int fork_traceflag(unsigned clone_flags)
{
if (clone_flags & CLONE_UNTRACED)
return 0;
Expand Down Expand Up @@ -1521,7 +1521,7 @@ void __init proc_caches_init(void)
* Check constraints on flags passed to the unshare system call and
* force unsharing of additional process context as appropriate.
*/
static inline void check_unshare_flags(unsigned long *flags_ptr)
static void check_unshare_flags(unsigned long *flags_ptr)
{
/*
* If unsharing a thread from a thread group, must also
Expand Down

0 comments on commit 6f8c7a2

Please sign in to comment.