diff options
Diffstat (limited to 'arch/m32r')
-rw-r--r-- | arch/m32r/Kconfig | 1 | ||||
-rw-r--r-- | arch/m32r/include/asm/mmu_context.h | 2 | ||||
-rw-r--r-- | arch/m32r/include/asm/pgalloc.h | 7 | ||||
-rw-r--r-- | arch/m32r/include/uapi/asm/socket.h | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig index 75661fbf4529..09ef94a8a7c3 100644 --- a/arch/m32r/Kconfig +++ b/arch/m32r/Kconfig | |||
@@ -275,7 +275,6 @@ source "kernel/Kconfig.preempt" | |||
275 | 275 | ||
276 | config SMP | 276 | config SMP |
277 | bool "Symmetric multi-processing support" | 277 | bool "Symmetric multi-processing support" |
278 | select USE_GENERIC_SMP_HELPERS | ||
279 | ---help--- | 278 | ---help--- |
280 | This enables support for systems with more than one CPU. If you have | 279 | This enables support for systems with more than one CPU. If you have |
281 | a system with only one CPU, like most personal computers, say N. If | 280 | a system with only one CPU, like most personal computers, say N. If |
diff --git a/arch/m32r/include/asm/mmu_context.h b/arch/m32r/include/asm/mmu_context.h index a979a4198168..9fc78fc44445 100644 --- a/arch/m32r/include/asm/mmu_context.h +++ b/arch/m32r/include/asm/mmu_context.h | |||
@@ -45,7 +45,7 @@ static inline void get_new_mmu_context(struct mm_struct *mm) | |||
45 | Flush all TLB and start new cycle. */ | 45 | Flush all TLB and start new cycle. */ |
46 | local_flush_tlb_all(); | 46 | local_flush_tlb_all(); |
47 | /* Fix version if needed. | 47 | /* Fix version if needed. |
48 | Note that we avoid version #0 to distingush NO_CONTEXT. */ | 48 | Note that we avoid version #0 to distinguish NO_CONTEXT. */ |
49 | if (!mc) | 49 | if (!mc) |
50 | mmu_context_cache = mc = MMU_CONTEXT_FIRST_VERSION; | 50 | mmu_context_cache = mc = MMU_CONTEXT_FIRST_VERSION; |
51 | } | 51 | } |
diff --git a/arch/m32r/include/asm/pgalloc.h b/arch/m32r/include/asm/pgalloc.h index 0fc736198979..2d55a064ccac 100644 --- a/arch/m32r/include/asm/pgalloc.h +++ b/arch/m32r/include/asm/pgalloc.h | |||
@@ -43,7 +43,12 @@ static __inline__ pgtable_t pte_alloc_one(struct mm_struct *mm, | |||
43 | { | 43 | { |
44 | struct page *pte = alloc_page(GFP_KERNEL|__GFP_ZERO); | 44 | struct page *pte = alloc_page(GFP_KERNEL|__GFP_ZERO); |
45 | 45 | ||
46 | pgtable_page_ctor(pte); | 46 | if (!pte) |
47 | return NULL; | ||
48 | if (!pgtable_page_ctor(pte)) { | ||
49 | __free_page(pte); | ||
50 | return NULL; | ||
51 | } | ||
47 | return pte; | 52 | return pte; |
48 | } | 53 | } |
49 | 54 | ||
diff --git a/arch/m32r/include/uapi/asm/socket.h b/arch/m32r/include/uapi/asm/socket.h index 24be7c8da86a..52966650114f 100644 --- a/arch/m32r/include/uapi/asm/socket.h +++ b/arch/m32r/include/uapi/asm/socket.h | |||
@@ -76,4 +76,6 @@ | |||
76 | 76 | ||
77 | #define SO_BUSY_POLL 46 | 77 | #define SO_BUSY_POLL 46 |
78 | 78 | ||
79 | #define SO_MAX_PACING_RATE 47 | ||
80 | |||
79 | #endif /* _ASM_M32R_SOCKET_H */ | 81 | #endif /* _ASM_M32R_SOCKET_H */ |