diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-11-07 08:44:56 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-11-07 08:44:56 +0000 |
commit | a4ffbea09c88fbe9cefcf0080eda0809598f3ee1 (patch) | |
tree | f3261452de6d5a1c11fd8ed250f2a42f6d0eb008 /target/linux/brcm47xx/patches-2.6.25/160-kmap_coherent.patch | |
parent | d9d70c2ebb0ad11fc61be3e9bc7148fe2106ab76 (diff) | |
download | master-187ad058-a4ffbea09c88fbe9cefcf0080eda0809598f3ee1.tar.gz master-187ad058-a4ffbea09c88fbe9cefcf0080eda0809598f3ee1.tar.bz2 master-187ad058-a4ffbea09c88fbe9cefcf0080eda0809598f3ee1.zip |
[kernel] update to 2.6.25.19, and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13137 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.25/160-kmap_coherent.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-2.6.25/160-kmap_coherent.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.25/160-kmap_coherent.patch b/target/linux/brcm47xx/patches-2.6.25/160-kmap_coherent.patch index 725fb3c7ed..5fe38aaaf6 100644 --- a/target/linux/brcm47xx/patches-2.6.25/160-kmap_coherent.patch +++ b/target/linux/brcm47xx/patches-2.6.25/160-kmap_coherent.patch @@ -1,6 +1,6 @@ --- a/arch/mips/mm/init.c +++ b/arch/mips/mm/init.c -@@ -211,7 +211,7 @@ +@@ -211,7 +211,7 @@ void copy_user_highpage(struct page *to, void *vfrom, *vto; vto = kmap_atomic(to, KM_USER1); @@ -9,7 +9,7 @@ page_mapped(from) && !Page_dcache_dirty(from)) { vfrom = kmap_coherent(from, vaddr); copy_page(vto, vfrom); -@@ -235,7 +235,7 @@ +@@ -235,7 +235,7 @@ void copy_to_user_page(struct vm_area_st struct page *page, unsigned long vaddr, void *dst, const void *src, unsigned long len) { @@ -18,7 +18,7 @@ page_mapped(page) && !Page_dcache_dirty(page)) { void *vto = kmap_coherent(page, vaddr) + (vaddr & ~PAGE_MASK); memcpy(vto, src, len); -@@ -255,7 +255,7 @@ +@@ -255,7 +255,7 @@ void copy_from_user_page(struct vm_area_ struct page *page, unsigned long vaddr, void *dst, const void *src, unsigned long len) { @@ -57,7 +57,7 @@ * I-Cache snoops remote store. This only matters on SMP. Some multiprocessors --- a/arch/mips/mm/c-r4k.c +++ b/arch/mips/mm/c-r4k.c -@@ -484,7 +484,7 @@ +@@ -484,7 +484,7 @@ static inline void local_r4k_flush_cache * Use kmap_coherent or kmap_atomic to do flushes for * another ASID than the current one. */ @@ -66,7 +66,7 @@ vaddr = kmap_coherent(page, addr); else vaddr = kmap_atomic(page, KM_USER0); -@@ -505,7 +505,7 @@ +@@ -505,7 +505,7 @@ static inline void local_r4k_flush_cache } if (vaddr) { |