Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
bf3abfa9
Commit
bf3abfa9
authored
Mar 12, 2002
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ARM tree for 2.5.6
parent
c666961d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
arch/arm/mm/fault-armv.c
arch/arm/mm/fault-armv.c
+5
-3
include/asm-arm/proc-armv/cache.h
include/asm-arm/proc-armv/cache.h
+4
-3
No files found.
arch/arm/mm/fault-armv.c
View file @
bf3abfa9
...
@@ -181,7 +181,7 @@ static void adjust_pte(struct vm_area_struct *vma, unsigned long address)
...
@@ -181,7 +181,7 @@ static void adjust_pte(struct vm_area_struct *vma, unsigned long address)
static
void
static
void
make_coherent
(
struct
vm_area_struct
*
vma
,
unsigned
long
addr
,
struct
page
*
page
)
make_coherent
(
struct
vm_area_struct
*
vma
,
unsigned
long
addr
,
struct
page
*
page
)
{
{
struct
vm_area_struct
*
mpnt
;
struct
list_head
*
l
;
struct
mm_struct
*
mm
=
vma
->
vm_mm
;
struct
mm_struct
*
mm
=
vma
->
vm_mm
;
unsigned
long
pgoff
=
(
addr
-
vma
->
vm_start
)
>>
PAGE_SHIFT
;
unsigned
long
pgoff
=
(
addr
-
vma
->
vm_start
)
>>
PAGE_SHIFT
;
int
aliases
=
0
;
int
aliases
=
0
;
...
@@ -191,10 +191,12 @@ make_coherent(struct vm_area_struct *vma, unsigned long addr, struct page *page)
...
@@ -191,10 +191,12 @@ make_coherent(struct vm_area_struct *vma, unsigned long addr, struct page *page)
* space, then we need to handle them specially to maintain
* space, then we need to handle them specially to maintain
* cache coherency.
* cache coherency.
*/
*/
for
(
mpnt
=
page
->
mapping
->
i_mmap_shared
;
mpnt
;
list_for_each
(
l
,
&
page
->
mapping
->
i_mmap_shared
)
{
mpnt
=
mpnt
->
vm_next_share
)
{
struct
vm_area_struct
*
mpnt
;
unsigned
long
off
;
unsigned
long
off
;
mpnt
=
list_entry
(
l
,
struct
vm_area_struct
,
shared
);
/*
/*
* If this VMA is not in our MM, we can ignore it.
* If this VMA is not in our MM, we can ignore it.
* Note that we intentionally don't mask out the VMA
* Note that we intentionally don't mask out the VMA
...
...
include/asm-arm/proc-armv/cache.h
View file @
bf3abfa9
/*
/*
* linux/include/asm-arm/proc-armv/cache.h
* linux/include/asm-arm/proc-armv/cache.h
*
*
* Copyright (C) 1999-200
1
Russell King
* Copyright (C) 1999-200
2
Russell King
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* it under the terms of the GNU General Public License version 2 as
...
@@ -134,7 +134,8 @@ static __inline__ void flush_page_to_ram(struct page *page)
...
@@ -134,7 +134,8 @@ static __inline__ void flush_page_to_ram(struct page *page)
#define clean_dcache_range(_s,_e) cpu_dcache_clean_range((_s),(_e))
#define clean_dcache_range(_s,_e) cpu_dcache_clean_range((_s),(_e))
#define flush_dcache_range(_s,_e) cpu_cache_clean_invalidate_range((_s),(_e),0)
#define flush_dcache_range(_s,_e) cpu_cache_clean_invalidate_range((_s),(_e),0)
#define mapping_mapped(map) ((map)->i_mmap || (map)->i_mmap_shared)
#define mapping_mapped(map) (!list_empty(&(map)->i_mmap) || \
!list_empty(&(map)->i_mmap_shared))
/*
/*
* flush_dcache_page is used when the kernel has written to the page
* flush_dcache_page is used when the kernel has written to the page
...
@@ -204,7 +205,7 @@ static inline void flush_icache_page(struct vm_area_struct *vma, struct page *pa
...
@@ -204,7 +205,7 @@ static inline void flush_icache_page(struct vm_area_struct *vma, struct page *pa
* TLB Management
* TLB Management
* ==============
* ==============
*
*
* The arch/arm/mm/tlb-*.S files implement th
is
methods.
* The arch/arm/mm/tlb-*.S files implement th
ese
methods.
*
*
* The TLB specific code is expected to perform whatever tests it
* The TLB specific code is expected to perform whatever tests it
* needs to determine if it should invalidate the TLB for each
* needs to determine if it should invalidate the TLB for each
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment