Merge branch 'sh/st-integration' into sh-latest
This commit is contained in:
@@ -11,6 +11,8 @@ targets := vmlinux vmlinux.bin vmlinux.bin.gz \
|
||||
|
||||
OBJECTS = $(obj)/head_$(BITS).o $(obj)/misc.o $(obj)/cache.o
|
||||
|
||||
GCOV_PROFILE := n
|
||||
|
||||
#
|
||||
# IMAGE_OFFSET is the load offset of the compression loader
|
||||
#
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <asm-generic/sections.h>
|
||||
|
||||
extern void __nosave_begin, __nosave_end;
|
||||
extern long __nosave_begin, __nosave_end;
|
||||
extern long __machvec_start, __machvec_end;
|
||||
extern char __uncached_start, __uncached_end;
|
||||
extern char _ebss[];
|
||||
|
||||
@@ -10,6 +10,16 @@
|
||||
void __delay(unsigned long loops)
|
||||
{
|
||||
__asm__ __volatile__(
|
||||
/*
|
||||
* ST40-300 appears to have an issue with this code,
|
||||
* normally taking two cycles each loop, as with all
|
||||
* other SH variants. If however the branch and the
|
||||
* delay slot straddle an 8 byte boundary, this increases
|
||||
* to 3 cycles.
|
||||
* This align directive ensures this doesn't occur.
|
||||
*/
|
||||
".balign 8\n\t"
|
||||
|
||||
"tst %0, %0\n\t"
|
||||
"1:\t"
|
||||
"bf/s 1b\n\t"
|
||||
|
||||
@@ -42,6 +42,8 @@ obj-$(CONFIG_IOREMAP_FIXED) += ioremap_fixed.o
|
||||
obj-$(CONFIG_UNCACHED_MAPPING) += uncached.o
|
||||
obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o
|
||||
|
||||
GCOV_PROFILE_pmb.o := n
|
||||
|
||||
# Special flags for fault_64.o. This puts restrictions on the number of
|
||||
# caller-save registers that the compiler can target when building this file.
|
||||
# This is required because the code is called from a context in entry.S where
|
||||
|
||||
+2
-1
@@ -108,7 +108,8 @@ void copy_user_highpage(struct page *to, struct page *from,
|
||||
kunmap_atomic(vfrom, KM_USER0);
|
||||
}
|
||||
|
||||
if (pages_do_alias((unsigned long)vto, vaddr & PAGE_MASK))
|
||||
if (pages_do_alias((unsigned long)vto, vaddr & PAGE_MASK) ||
|
||||
(vma->vm_flags & VM_EXEC))
|
||||
__flush_purge_region(vto, PAGE_SIZE);
|
||||
|
||||
kunmap_atomic(vto, KM_USER1);
|
||||
|
||||
Reference in New Issue
Block a user