Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14055
b: refs/heads/master
c: f037360
h: refs/heads/master
i:
  14053: 22ee3c4
  14051: cf3c631
  14047: 96f38e3
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Nov 14, 2005
1 parent 6258ff0 commit 6deb8b1
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 3 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: 10ebffde3d3916026974352b7900e44afe2b243f
refs/heads/master: f037360f2ed111fe89a8f5cb6ba351f4e9934e53
1 change: 1 addition & 0 deletions trunk/arch/sparc/lib/bitext.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*/

#include <linux/smp_lock.h>
#include <linux/string.h>
#include <linux/bitops.h>

#include <asm/bitext.h>
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/linux/hardirq.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ extern void synchronize_irq(unsigned int irq);
#define nmi_enter() irq_enter()
#define nmi_exit() sub_preempt_count(HARDIRQ_OFFSET)

struct task_struct;

#ifndef CONFIG_VIRT_CPU_ACCOUNTING
static inline void account_user_vtime(struct task_struct *tsk)
{
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <linux/preempt.h>
#include <linux/cpumask.h>
#include <linux/hardirq.h>
#include <linux/sched.h>
#include <asm/atomic.h>
#include <asm/ptrace.h>
#include <asm/system.h>
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/preempt.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

#include <linux/config.h>
#include <linux/thread_info.h>
#include <linux/linkage.h>

#ifdef CONFIG_DEBUG_PREEMPT
Expand Down
4 changes: 4 additions & 0 deletions trunk/include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -1233,6 +1233,8 @@ static inline void task_unlock(struct task_struct *p)
spin_unlock(&p->alloc_lock);
}

#ifndef __HAVE_THREAD_FUNCTIONS

#define task_thread_info(task) (task)->thread_info

static inline void setup_thread_stack(struct task_struct *p, struct task_struct *org)
Expand All @@ -1246,6 +1248,8 @@ static inline unsigned long *end_of_stack(struct task_struct *p)
return (unsigned long *)(p->thread_info + 1);
}

#endif

/* set thread flags in other task's structures
* - see asm/thread_info.h for TIF_xxxx flags available
*/
Expand Down
3 changes: 1 addition & 2 deletions trunk/include/linux/smp_lock.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
#define __LINUX_SMPLOCK_H

#include <linux/config.h>
#ifdef CONFIG_LOCK_KERNEL
#include <linux/sched.h>
#include <linux/spinlock.h>

#ifdef CONFIG_LOCK_KERNEL

#define kernel_locked() (current->lock_depth >= 0)

extern int __lockfunc __reacquire_kernel_lock(void);
Expand Down

0 comments on commit 6deb8b1

Please sign in to comment.