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
ac351d94
Commit
ac351d94
authored
Aug 16, 2005
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a few simple error checks to tlb dumper.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
d2f755e0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
arch/mips/lib-32/dump_tlb.c
arch/mips/lib-32/dump_tlb.c
+14
-11
No files found.
arch/mips/lib-32/dump_tlb.c
View file @
ac351d94
...
...
@@ -160,16 +160,17 @@ void dump_list_process(struct task_struct *t, void *address)
if
(
addr
>
KSEG0
)
page_dir
=
pgd_offset_k
(
0
);
else
else
if
(
t
->
mm
)
{
page_dir
=
pgd_offset
(
t
->
mm
,
0
);
printk
(
"page_dir == %08x
\n
"
,
(
unsigned
int
)
page_dir
);
}
else
printk
(
"Current thread has no mm
\n
"
);
if
(
addr
>
KSEG0
)
pgd
=
pgd_offset_k
(
addr
);
else
else
if
(
t
->
mm
)
{
pgd
=
pgd_offset
(
t
->
mm
,
addr
);
printk
(
"pgd == %08x, "
,
(
unsigned
int
)
pgd
);
pud
=
pud_offset
(
pgd
,
addr
);
printk
(
"pud == %08x, "
,
(
unsigned
int
)
pud
);
...
...
@@ -178,6 +179,8 @@ void dump_list_process(struct task_struct *t, void *address)
pte
=
pte_offset
(
pmd
,
addr
);
printk
(
"pte == %08x, "
,
(
unsigned
int
)
pte
);
}
else
printk
(
"Current thread has no mm
\n
"
);
page
=
*
pte
;
#ifdef CONFIG_64BIT_PHYS_ADDR
...
...
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