-
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: 323592 b: refs/heads/master c: 6ba3c97 h: refs/heads/master v: v3
- Loading branch information
Frederic Weisbecker
committed
Sep 26, 2012
1 parent
24800bc
commit 7bed957
Showing
4 changed files
with
87 additions
and
29 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: ef3f628872c838933a279d0d7e63e707783c9710 | ||
refs/heads/master: 6ba3c97a38803883c2eee489505796cb0a727122 |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef _ASM_X86_RCU_H | ||
#define _ASM_X86_RCU_H | ||
|
||
#include <linux/rcupdate.h> | ||
#include <asm/ptrace.h> | ||
|
||
static inline void exception_enter(struct pt_regs *regs) | ||
{ | ||
rcu_user_exit(); | ||
} | ||
|
||
static inline void exception_exit(struct pt_regs *regs) | ||
{ | ||
#ifdef CONFIG_RCU_USER_QS | ||
if (user_mode(regs)) | ||
rcu_user_enter(); | ||
#endif | ||
} | ||
|
||
#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