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
c50cade9
Commit
c50cade9
authored
Oct 04, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] SMP: Kill useless casts.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
b5eb5511
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
arch/mips/kernel/smp.c
arch/mips/kernel/smp.c
+7
-7
No files found.
arch/mips/kernel/smp.c
View file @
c50cade9
...
...
@@ -373,7 +373,7 @@ void flush_tlb_mm(struct mm_struct *mm)
preempt_disable
();
if
((
atomic_read
(
&
mm
->
mm_users
)
!=
1
)
||
(
current
->
mm
!=
mm
))
{
smp_on_other_tlbs
(
flush_tlb_mm_ipi
,
(
void
*
)
mm
);
smp_on_other_tlbs
(
flush_tlb_mm_ipi
,
mm
);
}
else
{
cpumask_t
mask
=
cpu_online_map
;
unsigned
int
cpu
;
...
...
@@ -396,7 +396,7 @@ struct flush_tlb_data {
static
void
flush_tlb_range_ipi
(
void
*
info
)
{
struct
flush_tlb_data
*
fd
=
(
struct
flush_tlb_data
*
)
info
;
struct
flush_tlb_data
*
fd
=
info
;
local_flush_tlb_range
(
fd
->
vma
,
fd
->
addr1
,
fd
->
addr2
);
}
...
...
@@ -412,7 +412,7 @@ void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned l
fd
.
vma
=
vma
;
fd
.
addr1
=
start
;
fd
.
addr2
=
end
;
smp_on_other_tlbs
(
flush_tlb_range_ipi
,
(
void
*
)
&
fd
);
smp_on_other_tlbs
(
flush_tlb_range_ipi
,
&
fd
);
}
else
{
cpumask_t
mask
=
cpu_online_map
;
unsigned
int
cpu
;
...
...
@@ -428,7 +428,7 @@ void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned l
static
void
flush_tlb_kernel_range_ipi
(
void
*
info
)
{
struct
flush_tlb_data
*
fd
=
(
struct
flush_tlb_data
*
)
info
;
struct
flush_tlb_data
*
fd
=
info
;
local_flush_tlb_kernel_range
(
fd
->
addr1
,
fd
->
addr2
);
}
...
...
@@ -439,12 +439,12 @@ void flush_tlb_kernel_range(unsigned long start, unsigned long end)
fd
.
addr1
=
start
;
fd
.
addr2
=
end
;
on_each_cpu
(
flush_tlb_kernel_range_ipi
,
(
void
*
)
&
fd
,
1
,
1
);
on_each_cpu
(
flush_tlb_kernel_range_ipi
,
&
fd
,
1
,
1
);
}
static
void
flush_tlb_page_ipi
(
void
*
info
)
{
struct
flush_tlb_data
*
fd
=
(
struct
flush_tlb_data
*
)
info
;
struct
flush_tlb_data
*
fd
=
info
;
local_flush_tlb_page
(
fd
->
vma
,
fd
->
addr1
);
}
...
...
@@ -457,7 +457,7 @@ void flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
fd
.
vma
=
vma
;
fd
.
addr1
=
page
;
smp_on_other_tlbs
(
flush_tlb_page_ipi
,
(
void
*
)
&
fd
);
smp_on_other_tlbs
(
flush_tlb_page_ipi
,
&
fd
);
}
else
{
cpumask_t
mask
=
cpu_online_map
;
unsigned
int
cpu
;
...
...
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