-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 366075 b: refs/heads/master c: 56dd947 h: refs/heads/master i: 366073: 7a6ea4c 366071: 93e5400 v: v3
- Loading branch information
Frederic Weisbecker
committed
Mar 7, 2013
1 parent
a1b3217
commit 1ef7f95
Showing
10 changed files
with
225 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 27b4b9319a3c2e8654d45df99ce584c7c2cfe100 | ||
refs/heads/master: 56dd9470d7c8734f055da2a6bac553caf4a468eb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,10 @@ | ||
#ifndef _ASM_X86_CONTEXT_TRACKING_H | ||
#define _ASM_X86_CONTEXT_TRACKING_H | ||
|
||
#ifndef __ASSEMBLY__ | ||
#include <linux/context_tracking.h> | ||
#include <asm/ptrace.h> | ||
|
||
static inline void exception_enter(struct pt_regs *regs) | ||
{ | ||
user_exit(); | ||
} | ||
|
||
static inline void exception_exit(struct pt_regs *regs) | ||
{ | ||
#ifdef CONFIG_CONTEXT_TRACKING | ||
if (user_mode(regs)) | ||
user_enter(); | ||
#endif | ||
} | ||
|
||
#else /* __ASSEMBLY__ */ | ||
|
||
#ifdef CONFIG_CONTEXT_TRACKING | ||
# define SCHEDULE_USER call schedule_user | ||
#else | ||
# define SCHEDULE_USER call schedule | ||
#endif | ||
|
||
#endif /* !__ASSEMBLY__ */ | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.