Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
31925323
Commit
31925323
authored
Jun 13, 2006
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powerpc: Fix some missed ppc32 mm->context.id conversions
Signed-off-by:
Paul Mackerras
<
paulus@samba.org
>
parent
43064431
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
arch/ppc/mm/init.c
arch/ppc/mm/init.c
+1
-1
arch/ppc/mm/tlb.c
arch/ppc/mm/tlb.c
+3
-3
No files found.
arch/ppc/mm/init.c
View file @
31925323
...
...
@@ -583,7 +583,7 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long address,
mm
=
(
address
<
TASK_SIZE
)
?
vma
->
vm_mm
:
&
init_mm
;
pmd
=
pmd_offset
(
pgd_offset
(
mm
,
address
),
address
);
if
(
!
pmd_none
(
*
pmd
))
add_hash_page
(
mm
->
context
,
address
,
pmd_val
(
*
pmd
));
add_hash_page
(
mm
->
context
.
id
,
address
,
pmd_val
(
*
pmd
));
}
#endif
}
...
...
arch/ppc/mm/tlb.c
View file @
31925323
...
...
@@ -42,7 +42,7 @@ void flush_hash_entry(struct mm_struct *mm, pte_t *ptep, unsigned long addr)
if
(
Hash
!=
0
)
{
ptephys
=
__pa
(
ptep
)
&
PAGE_MASK
;
flush_hash_pages
(
mm
->
context
,
addr
,
ptephys
,
1
);
flush_hash_pages
(
mm
->
context
.
id
,
addr
,
ptephys
,
1
);
}
}
...
...
@@ -102,7 +102,7 @@ static void flush_range(struct mm_struct *mm, unsigned long start,
pmd_t
*
pmd
;
unsigned
long
pmd_end
;
int
count
;
unsigned
int
ctx
=
mm
->
context
;
unsigned
int
ctx
=
mm
->
context
.
id
;
if
(
Hash
==
0
)
{
_tlbia
();
...
...
@@ -166,7 +166,7 @@ void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr)
mm
=
(
vmaddr
<
TASK_SIZE
)
?
vma
->
vm_mm
:
&
init_mm
;
pmd
=
pmd_offset
(
pgd_offset
(
mm
,
vmaddr
),
vmaddr
);
if
(
!
pmd_none
(
*
pmd
))
flush_hash_pages
(
mm
->
context
,
vmaddr
,
pmd_val
(
*
pmd
),
1
);
flush_hash_pages
(
mm
->
context
.
id
,
vmaddr
,
pmd_val
(
*
pmd
),
1
);
FINISH_FLUSH
;
}
...
...
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