diff options
Diffstat (limited to 'arch/tile/lib/memcpy_tile64.c')
-rw-r--r-- | arch/tile/lib/memcpy_tile64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/tile/lib/memcpy_tile64.c b/arch/tile/lib/memcpy_tile64.c index 4f0047342469..dfedea7b266b 100644 --- a/arch/tile/lib/memcpy_tile64.c +++ b/arch/tile/lib/memcpy_tile64.c | |||
@@ -60,8 +60,8 @@ typedef unsigned long (*memcpy_t)(void *, const void *, unsigned long); | |||
60 | static void memcpy_multicache(void *dest, const void *source, | 60 | static void memcpy_multicache(void *dest, const void *source, |
61 | pte_t dst_pte, pte_t src_pte, int len) | 61 | pte_t dst_pte, pte_t src_pte, int len) |
62 | { | 62 | { |
63 | int idx, i; | 63 | int idx; |
64 | unsigned long flags, newsrc, newdst, endsrc; | 64 | unsigned long flags, newsrc, newdst; |
65 | pmd_t *pmdp; | 65 | pmd_t *pmdp; |
66 | pte_t *ptep; | 66 | pte_t *ptep; |
67 | int cpu = get_cpu(); | 67 | int cpu = get_cpu(); |
@@ -121,7 +121,7 @@ static void memcpy_multicache(void *dest, const void *source, | |||
121 | */ | 121 | */ |
122 | sim_allow_multiple_caching(0); | 122 | sim_allow_multiple_caching(0); |
123 | local_irq_restore(flags); | 123 | local_irq_restore(flags); |
124 | put_cpu_no_resched(); | 124 | put_cpu(); |
125 | } | 125 | } |
126 | 126 | ||
127 | /* | 127 | /* |