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
5868756d
Commit
5868756d
authored
17 years ago
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] SMTC: Make a bunch of functions and variables static.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
99d233fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
arch/mips/kernel/smtc.c
arch/mips/kernel/smtc.c
+9
-9
include/asm-mips/smtc_ipi.h
include/asm-mips/smtc_ipi.h
+0
-3
No files found.
arch/mips/kernel/smtc.c
View file @
5868756d
...
...
@@ -67,15 +67,15 @@ unsigned int ipi_timer_latch[NR_CPUS];
#define IPIBUF_PER_CPU 4
struct
smtc_ipi_q
IPIQ
[
NR_CPUS
];
struct
smtc_ipi_q
freeIPIq
;
st
atic
st
ruct
smtc_ipi_q
IPIQ
[
NR_CPUS
];
st
atic
st
ruct
smtc_ipi_q
freeIPIq
;
/* Forward declarations */
void
ipi_decode
(
struct
smtc_ipi
*
);
void
post_direct_ipi
(
int
cpu
,
struct
smtc_ipi
*
pipi
);
void
setup_cross_vpe_interrupts
(
void
);
static
void
post_direct_ipi
(
int
cpu
,
struct
smtc_ipi
*
pipi
);
static
void
setup_cross_vpe_interrupts
(
void
);
void
init_smtc_stats
(
void
);
/* Global SMTC Status */
...
...
@@ -190,7 +190,7 @@ void __init sanitize_tlb_entries(void)
* Configure shared TLB - VPC configuration bit must be set by caller
*/
void
smtc_configure_tlb
(
void
)
static
void
smtc_configure_tlb
(
void
)
{
int
i
,
tlbsiz
,
vpes
;
unsigned
long
mvpconf0
;
...
...
@@ -638,7 +638,7 @@ int setup_irq_smtc(unsigned int irq, struct irqaction * new,
* the VPE.
*/
void
smtc_ipi_qdump
(
void
)
static
void
smtc_ipi_qdump
(
void
)
{
int
i
;
...
...
@@ -749,7 +749,7 @@ void smtc_send_ipi(int cpu, int type, unsigned int action)
/*
* Send IPI message to Halted TC, TargTC/TargVPE already having been set
*/
void
post_direct_ipi
(
int
cpu
,
struct
smtc_ipi
*
pipi
)
static
void
post_direct_ipi
(
int
cpu
,
struct
smtc_ipi
*
pipi
)
{
struct
pt_regs
*
kstack
;
unsigned
long
tcstatus
;
...
...
@@ -968,7 +968,7 @@ static void ipi_irq_dispatch(void)
static
struct
irqaction
irq_ipi
;
void
setup_cross_vpe_interrupts
(
void
)
static
void
setup_cross_vpe_interrupts
(
void
)
{
if
(
!
cpu_has_vint
)
panic
(
"SMTC Kernel requires Vectored Interupt support"
);
...
...
@@ -1264,7 +1264,7 @@ void smtc_flush_tlb_asid(unsigned long asid)
* Support for single-threading cache flush operations.
*/
int
halt_state_save
[
NR_CPUS
];
static
int
halt_state_save
[
NR_CPUS
];
/*
* To really, really be sure that nothing is being done
...
...
This diff is collapsed.
Click to expand it.
include/asm-mips/smtc_ipi.h
View file @
5868756d
...
...
@@ -44,9 +44,6 @@ struct smtc_ipi_q {
int
depth
;
};
extern
struct
smtc_ipi_q
IPIQ
[
NR_CPUS
];
extern
struct
smtc_ipi_q
freeIPIq
;
static
inline
void
smtc_ipi_nq
(
struct
smtc_ipi_q
*
q
,
struct
smtc_ipi
*
p
)
{
long
flags
;
...
...
This diff is collapsed.
Click to expand it.
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