Merge branch '3.15-fixes' into mips-for-linux-next
This commit is contained in:
@@ -137,8 +137,10 @@ static void octeon_flush_cache_sigtramp(unsigned long addr)
|
||||
{
|
||||
struct vm_area_struct *vma;
|
||||
|
||||
down_read(¤t->mm->mmap_sem);
|
||||
vma = find_vma(current->mm, addr);
|
||||
octeon_flush_icache_all_cores(vma);
|
||||
up_read(¤t->mm->mmap_sem);
|
||||
}
|
||||
|
||||
|
||||
|
@@ -273,7 +273,7 @@ void build_clear_page(void)
|
||||
uasm_i_ori(&buf, A2, A0, off);
|
||||
|
||||
if (R4600_V2_HIT_CACHEOP_WAR && cpu_is_r4600_v2_x())
|
||||
uasm_i_lui(&buf, AT, 0xa000);
|
||||
uasm_i_lui(&buf, AT, uasm_rel_hi(0xa0000000));
|
||||
|
||||
off = cache_line_size ? min(8, pref_bias_clear_store / cache_line_size)
|
||||
* cache_line_size : 0;
|
||||
@@ -424,7 +424,7 @@ void build_copy_page(void)
|
||||
uasm_i_ori(&buf, A2, A0, off);
|
||||
|
||||
if (R4600_V2_HIT_CACHEOP_WAR && cpu_is_r4600_v2_x())
|
||||
uasm_i_lui(&buf, AT, 0xa000);
|
||||
uasm_i_lui(&buf, AT, uasm_rel_hi(0xa0000000));
|
||||
|
||||
off = cache_line_size ? min(8, pref_bias_copy_load / cache_line_size) *
|
||||
cache_line_size : 0;
|
||||
|
Reference in New Issue
Block a user