diff options
author | Michal Marek <mmarek@suse.cz> | 2010-08-04 07:59:13 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-08-04 07:59:13 -0400 |
commit | 772320e84588dcbe1600ffb83e5f328f2209ac2a (patch) | |
tree | a7de21b79340aeaa17c58126f6b801b82c77b53a /arch/score | |
parent | 1ce53adf13a54375d2a5c7cdbe341b2558389615 (diff) | |
parent | 9fe6206f400646a2322096b56c59891d530e8d51 (diff) |
Merge commit 'v2.6.35' into kbuild/kbuild
Conflicts:
arch/powerpc/Makefile
Diffstat (limited to 'arch/score')
-rw-r--r-- | arch/score/include/asm/pgtable.h | 3 | ||||
-rw-r--r-- | arch/score/include/asm/ptrace.h | 3 | ||||
-rw-r--r-- | arch/score/include/asm/scatterlist.h | 2 | ||||
-rw-r--r-- | arch/score/include/asm/thread_info.h | 2 | ||||
-rw-r--r-- | arch/score/kernel/sys_score.c | 1 | ||||
-rw-r--r-- | arch/score/mm/init.c | 3 |
6 files changed, 9 insertions, 5 deletions
diff --git a/arch/score/include/asm/pgtable.h b/arch/score/include/asm/pgtable.h index 674934b40170..ccf38f06c57d 100644 --- a/arch/score/include/asm/pgtable.h +++ b/arch/score/include/asm/pgtable.h | |||
@@ -272,8 +272,9 @@ extern void __update_cache(struct vm_area_struct *vma, | |||
272 | unsigned long address, pte_t pte); | 272 | unsigned long address, pte_t pte); |
273 | 273 | ||
274 | static inline void update_mmu_cache(struct vm_area_struct *vma, | 274 | static inline void update_mmu_cache(struct vm_area_struct *vma, |
275 | unsigned long address, pte_t pte) | 275 | unsigned long address, pte_t *ptep) |
276 | { | 276 | { |
277 | pte_t pte = *ptep; | ||
277 | __update_tlb(vma, address, pte); | 278 | __update_tlb(vma, address, pte); |
278 | __update_cache(vma, address, pte); | 279 | __update_cache(vma, address, pte); |
279 | } | 280 | } |
diff --git a/arch/score/include/asm/ptrace.h b/arch/score/include/asm/ptrace.h index d40e691f23e2..e89dc9b1ef49 100644 --- a/arch/score/include/asm/ptrace.h +++ b/arch/score/include/asm/ptrace.h | |||
@@ -90,8 +90,7 @@ extern int read_tsk_short(struct task_struct *, unsigned long, | |||
90 | unsigned short *); | 90 | unsigned short *); |
91 | 91 | ||
92 | #define arch_has_single_step() (1) | 92 | #define arch_has_single_step() (1) |
93 | extern void user_enable_single_step(struct task_struct *); | 93 | |
94 | extern void user_disable_single_step(struct task_struct *); | ||
95 | #endif /* __KERNEL__ */ | 94 | #endif /* __KERNEL__ */ |
96 | 95 | ||
97 | #endif /* _ASM_SCORE_PTRACE_H */ | 96 | #endif /* _ASM_SCORE_PTRACE_H */ |
diff --git a/arch/score/include/asm/scatterlist.h b/arch/score/include/asm/scatterlist.h index 9f533b8362c7..4fa1a6658215 100644 --- a/arch/score/include/asm/scatterlist.h +++ b/arch/score/include/asm/scatterlist.h | |||
@@ -1,6 +1,8 @@ | |||
1 | #ifndef _ASM_SCORE_SCATTERLIST_H | 1 | #ifndef _ASM_SCORE_SCATTERLIST_H |
2 | #define _ASM_SCORE_SCATTERLIST_H | 2 | #define _ASM_SCORE_SCATTERLIST_H |
3 | 3 | ||
4 | #define ISA_DMA_THRESHOLD (~0UL) | ||
5 | |||
4 | #include <asm-generic/scatterlist.h> | 6 | #include <asm-generic/scatterlist.h> |
5 | 7 | ||
6 | #endif /* _ASM_SCORE_SCATTERLIST_H */ | 8 | #endif /* _ASM_SCORE_SCATTERLIST_H */ |
diff --git a/arch/score/include/asm/thread_info.h b/arch/score/include/asm/thread_info.h index 55939992c27d..8570d08f58c1 100644 --- a/arch/score/include/asm/thread_info.h +++ b/arch/score/include/asm/thread_info.h | |||
@@ -92,7 +92,7 @@ register struct thread_info *__current_thread_info __asm__("r28"); | |||
92 | #define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal() */ | 92 | #define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal() */ |
93 | #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling | 93 | #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling |
94 | TIF_NEED_RESCHED */ | 94 | TIF_NEED_RESCHED */ |
95 | #define TIF_MEMDIE 18 | 95 | #define TIF_MEMDIE 18 /* is terminating due to OOM killer */ |
96 | 96 | ||
97 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) | 97 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) |
98 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) | 98 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) |
diff --git a/arch/score/kernel/sys_score.c b/arch/score/kernel/sys_score.c index 856ed68a58e6..651096ff8db4 100644 --- a/arch/score/kernel/sys_score.c +++ b/arch/score/kernel/sys_score.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <linux/mm.h> | 28 | #include <linux/mm.h> |
29 | #include <linux/mman.h> | 29 | #include <linux/mman.h> |
30 | #include <linux/module.h> | 30 | #include <linux/module.h> |
31 | #include <linux/slab.h> | ||
31 | #include <linux/unistd.h> | 32 | #include <linux/unistd.h> |
32 | #include <linux/syscalls.h> | 33 | #include <linux/syscalls.h> |
33 | #include <asm/syscalls.h> | 34 | #include <asm/syscalls.h> |
diff --git a/arch/score/mm/init.c b/arch/score/mm/init.c index dfaf458d6702..50fdec54c70a 100644 --- a/arch/score/mm/init.c +++ b/arch/score/mm/init.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/errno.h> | 26 | #include <linux/errno.h> |
27 | #include <linux/bootmem.h> | 27 | #include <linux/bootmem.h> |
28 | #include <linux/kernel.h> | 28 | #include <linux/kernel.h> |
29 | #include <linux/gfp.h> | ||
29 | #include <linux/init.h> | 30 | #include <linux/init.h> |
30 | #include <linux/mm.h> | 31 | #include <linux/mm.h> |
31 | #include <linux/mman.h> | 32 | #include <linux/mman.h> |
@@ -59,7 +60,7 @@ static unsigned long setup_zero_page(void) | |||
59 | } | 60 | } |
60 | 61 | ||
61 | #ifndef CONFIG_NEED_MULTIPLE_NODES | 62 | #ifndef CONFIG_NEED_MULTIPLE_NODES |
62 | static int __init page_is_ram(unsigned long pagenr) | 63 | int page_is_ram(unsigned long pagenr) |
63 | { | 64 | { |
64 | if (pagenr >= min_low_pfn && pagenr < max_low_pfn) | 65 | if (pagenr >= min_low_pfn && pagenr < max_low_pfn) |
65 | return 1; | 66 | return 1; |