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
eb4e9b51
Commit
eb4e9b51
authored
Nov 13, 2002
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Rename __flush_tlb_all() to local_flush_tlb_all().
parent
1a3b1862
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
arch/ia64/kernel/ia64_ksyms.c
arch/ia64/kernel/ia64_ksyms.c
+1
-1
arch/ia64/kernel/smp.c
arch/ia64/kernel/smp.c
+2
-2
arch/ia64/mm/tlb.c
arch/ia64/mm/tlb.c
+3
-3
include/asm-ia64/mmu_context.h
include/asm-ia64/mmu_context.h
+2
-2
include/asm-ia64/tlbflush.h
include/asm-ia64/tlbflush.h
+2
-2
No files found.
arch/ia64/kernel/ia64_ksyms.c
View file @
eb4e9b51
...
@@ -86,7 +86,7 @@ EXPORT_SYMBOL(cpu_online_map);
...
@@ -86,7 +86,7 @@ EXPORT_SYMBOL(cpu_online_map);
EXPORT_SYMBOL
(
ia64_cpu_to_sapicid
);
EXPORT_SYMBOL
(
ia64_cpu_to_sapicid
);
#else
/* !CONFIG_SMP */
#else
/* !CONFIG_SMP */
EXPORT_SYMBOL
(
_
_flush_tlb_all
);
EXPORT_SYMBOL
(
local
_flush_tlb_all
);
#endif
/* !CONFIG_SMP */
#endif
/* !CONFIG_SMP */
...
...
arch/ia64/kernel/smp.c
View file @
eb4e9b51
...
@@ -206,8 +206,8 @@ smp_send_reschedule_all (void)
...
@@ -206,8 +206,8 @@ smp_send_reschedule_all (void)
void
void
smp_flush_tlb_all
(
void
)
smp_flush_tlb_all
(
void
)
{
{
smp_call_function
((
void
(
*
)(
void
*
))
_
_flush_tlb_all
,
0
,
1
,
1
);
smp_call_function
((
void
(
*
)(
void
*
))
local
_flush_tlb_all
,
0
,
1
,
1
);
_
_flush_tlb_all
();
local
_flush_tlb_all
();
}
}
/*
/*
...
...
arch/ia64/mm/tlb.c
View file @
eb4e9b51
...
@@ -84,7 +84,7 @@ wrap_mmu_context (struct mm_struct *mm)
...
@@ -84,7 +84,7 @@ wrap_mmu_context (struct mm_struct *mm)
for
(
i
=
0
;
i
<
NR_CPUS
;
++
i
)
for
(
i
=
0
;
i
<
NR_CPUS
;
++
i
)
if
(
i
!=
smp_processor_id
())
if
(
i
!=
smp_processor_id
())
per_cpu
(
ia64_need_tlb_flush
,
i
)
=
1
;
per_cpu
(
ia64_need_tlb_flush
,
i
)
=
1
;
_
_flush_tlb_all
();
local
_flush_tlb_all
();
}
}
void
void
...
@@ -108,7 +108,7 @@ ia64_global_tlb_purge (unsigned long start, unsigned long end, unsigned long nbi
...
@@ -108,7 +108,7 @@ ia64_global_tlb_purge (unsigned long start, unsigned long end, unsigned long nbi
}
}
void
void
_
_flush_tlb_all
(
void
)
local
_flush_tlb_all
(
void
)
{
{
unsigned
long
i
,
j
,
flags
,
count0
,
count1
,
stride0
,
stride1
,
addr
;
unsigned
long
i
,
j
,
flags
,
count0
,
count1
,
stride0
,
stride1
,
addr
;
...
@@ -194,5 +194,5 @@ ia64_tlb_init (void)
...
@@ -194,5 +194,5 @@ ia64_tlb_init (void)
local_cpu_data
->
ptce_stride
[
0
]
=
ptce_info
.
stride
[
0
];
local_cpu_data
->
ptce_stride
[
0
]
=
ptce_info
.
stride
[
0
];
local_cpu_data
->
ptce_stride
[
1
]
=
ptce_info
.
stride
[
1
];
local_cpu_data
->
ptce_stride
[
1
]
=
ptce_info
.
stride
[
1
];
_
_flush_tlb_all
();
/* nuke left overs from bootstrapping... */
local
_flush_tlb_all
();
/* nuke left overs from bootstrapping... */
}
}
include/asm-ia64/mmu_context.h
View file @
eb4e9b51
...
@@ -54,10 +54,10 @@ enter_lazy_tlb (struct mm_struct *mm, struct task_struct *tsk, unsigned cpu)
...
@@ -54,10 +54,10 @@ enter_lazy_tlb (struct mm_struct *mm, struct task_struct *tsk, unsigned cpu)
static
inline
void
static
inline
void
delayed_tlb_flush
(
void
)
delayed_tlb_flush
(
void
)
{
{
extern
void
_
_flush_tlb_all
(
void
);
extern
void
local
_flush_tlb_all
(
void
);
if
(
unlikely
(
__get_cpu_var
(
ia64_need_tlb_flush
)))
{
if
(
unlikely
(
__get_cpu_var
(
ia64_need_tlb_flush
)))
{
_
_flush_tlb_all
();
local
_flush_tlb_all
();
__get_cpu_var
(
ia64_need_tlb_flush
)
=
0
;
__get_cpu_var
(
ia64_need_tlb_flush
)
=
0
;
}
}
}
}
...
...
include/asm-ia64/tlbflush.h
View file @
eb4e9b51
...
@@ -22,13 +22,13 @@
...
@@ -22,13 +22,13 @@
* Flush everything (kernel mapping may also have changed due to
* Flush everything (kernel mapping may also have changed due to
* vmalloc/vfree).
* vmalloc/vfree).
*/
*/
extern
void
_
_flush_tlb_all
(
void
);
extern
void
local
_flush_tlb_all
(
void
);
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
extern
void
smp_flush_tlb_all
(
void
);
extern
void
smp_flush_tlb_all
(
void
);
# define flush_tlb_all() smp_flush_tlb_all()
# define flush_tlb_all() smp_flush_tlb_all()
#else
#else
# define flush_tlb_all()
_
_flush_tlb_all()
# define flush_tlb_all()
local
_flush_tlb_all()
#endif
#endif
/*
/*
...
...
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