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
eb013086
Commit
eb013086
authored
Jun 04, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
25c34123
52f48d91
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
arch/arm/mm/fault.c
arch/arm/mm/fault.c
+1
-1
arch/arm/mm/mmap.c
arch/arm/mm/mmap.c
+1
-1
include/asm-arm/pgtable.h
include/asm-arm/pgtable.h
+7
-0
No files found.
arch/arm/mm/fault.c
View file @
eb013086
...
@@ -348,7 +348,7 @@ do_translation_fault(unsigned long addr, unsigned int fsr,
...
@@ -348,7 +348,7 @@ do_translation_fault(unsigned long addr, unsigned int fsr,
if
(
pmd_none
(
*
pmd_k
))
if
(
pmd_none
(
*
pmd_k
))
goto
bad_area
;
goto
bad_area
;
set_pmd
(
pmd
,
*
pmd_k
);
copy_pmd
(
pmd
,
pmd_k
);
return
0
;
return
0
;
bad_area:
bad_area:
...
...
arch/arm/mm/mmap.c
View file @
eb013086
...
@@ -40,7 +40,7 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr,
...
@@ -40,7 +40,7 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr,
*/
*/
cache_type
=
read_cpuid
(
CPUID_CACHETYPE
);
cache_type
=
read_cpuid
(
CPUID_CACHETYPE
);
if
(
cache_type
!=
read_cpuid
(
CPUID_ID
))
{
if
(
cache_type
!=
read_cpuid
(
CPUID_ID
))
{
aliasing
=
(
cache_type
|
cache_type
>>
12
)
&
(
1
<<
9
);
aliasing
=
(
cache_type
|
cache_type
>>
12
)
&
(
1
<<
11
);
if
(
aliasing
)
if
(
aliasing
)
do_align
=
filp
||
flags
&
MAP_SHARED
;
do_align
=
filp
||
flags
&
MAP_SHARED
;
}
}
...
...
include/asm-arm/pgtable.h
View file @
eb013086
...
@@ -312,6 +312,13 @@ PTE_BIT_FUNC(mkyoung, |= L_PTE_YOUNG);
...
@@ -312,6 +312,13 @@ PTE_BIT_FUNC(mkyoung, |= L_PTE_YOUNG);
flush_pmd_entry(pmdp); \
flush_pmd_entry(pmdp); \
} while (0)
} while (0)
#define copy_pmd(pmdpd,pmdps) \
do { \
pmdpd[0] = pmdps[0]; \
pmdpd[1] = pmdps[1]; \
flush_pmd_entry(pmdpd); \
} while (0)
#define pmd_clear(pmdp) \
#define pmd_clear(pmdp) \
do { \
do { \
pmdp[0] = __pmd(0); \
pmdp[0] = __pmd(0); \
...
...
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