Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74297
b: refs/heads/master
c: deaf222
h: refs/heads/master
i:
  74295: 394e84d
v: v3
  • Loading branch information
Ingo Molnar committed Nov 28, 2007
1 parent b784db1 commit c43fc21
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 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: 9a4e715914f07e56cbfa6f2b544a68365d51c3ef
refs/heads/master: deaf2227ddf657a260e923db44b6f0974d9bb782
4 changes: 4 additions & 0 deletions trunk/include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,10 @@ static inline void touch_all_softlockup_watchdogs(void)

/* Attach to any functions which should be ignored in wchan output. */
#define __sched __attribute__((__section__(".sched.text")))

/* Linker adds these: start and end of __sched functions */
extern char __sched_text_start[], __sched_text_end[];

/* Is this address in the __sched functions? */
extern int in_sched_functions(unsigned long addr);

Expand Down
3 changes: 0 additions & 3 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -6708,9 +6708,6 @@ void __init sched_init_smp(void)

int in_sched_functions(unsigned long addr)
{
/* Linker adds these: start and end of __sched functions */
extern char __sched_text_start[], __sched_text_end[];

return in_lock_functions(addr) ||
(addr >= (unsigned long)__sched_text_start
&& addr < (unsigned long)__sched_text_end);
Expand Down

0 comments on commit c43fc21

Please sign in to comment.