diff options
| author | 2014-01-13 13:35:28 +0100 | |
|---|---|---|
| committer | 2014-01-13 13:35:28 +0100 | |
| commit | 56b4811039174bba9cbd68318d0d8b1585b9eded (patch) | |
| tree | f3e8f99e85e545662d82e18bef2a7009c2948852 /include/linux/kernel.h | |
| parent | sched/numa: Fix period_slot recalculation (diff) | |
| parent | sched: Calculate effective load even if local weight is 0 (diff) | |
Merge branch 'sched/urgent' into sched/core
Pick up the latest fixes before applying new changes.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/kernel.h')
| -rw-r--r-- | include/linux/kernel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index d4e98d13eff4..ecb87544cc5d 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -193,7 +193,8 @@ extern int _cond_resched(void); (__x < 0) ? -__x : __x; \ }) -#if defined(CONFIG_PROVE_LOCKING) || defined(CONFIG_DEBUG_ATOMIC_SLEEP) +#if defined(CONFIG_MMU) && \ + (defined(CONFIG_PROVE_LOCKING) || defined(CONFIG_DEBUG_ATOMIC_SLEEP)) void might_fault(void); #else static inline void might_fault(void) { } |
