diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-frv/pgtable.h | 2 | ||||
-rw-r--r-- | include/asm-generic/pgtable.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-frv/pgtable.h b/include/asm-frv/pgtable.h index 235e34a7a340..09887045d03f 100644 --- a/include/asm-frv/pgtable.h +++ b/include/asm-frv/pgtable.h | |||
@@ -74,7 +74,7 @@ static inline int pte_file(pte_t pte) { return 0; } | |||
74 | #define arch_enter_lazy_mmu_mode() do {} while (0) | 74 | #define arch_enter_lazy_mmu_mode() do {} while (0) |
75 | #define arch_leave_lazy_mmu_mode() do {} while (0) | 75 | #define arch_leave_lazy_mmu_mode() do {} while (0) |
76 | 76 | ||
77 | #define arch_start_context_switch() do {} while (0) | 77 | #define arch_start_context_switch(prev) do {} while (0) |
78 | 78 | ||
79 | #else /* !CONFIG_MMU */ | 79 | #else /* !CONFIG_MMU */ |
80 | /*****************************************************************************/ | 80 | /*****************************************************************************/ |
diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h index 922f03671dd8..e410f602cab1 100644 --- a/include/asm-generic/pgtable.h +++ b/include/asm-generic/pgtable.h | |||
@@ -291,7 +291,7 @@ static inline void ptep_modify_prot_commit(struct mm_struct *mm, | |||
291 | * definition. | 291 | * definition. |
292 | */ | 292 | */ |
293 | #ifndef __HAVE_ARCH_START_CONTEXT_SWITCH | 293 | #ifndef __HAVE_ARCH_START_CONTEXT_SWITCH |
294 | #define arch_start_context_switch() do {} while (0) | 294 | #define arch_start_context_switch(prev) do {} while (0) |
295 | #endif | 295 | #endif |
296 | 296 | ||
297 | #ifndef __HAVE_PFNMAP_TRACKING | 297 | #ifndef __HAVE_PFNMAP_TRACKING |