Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
5868756d
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 大约 4 年
通知
14
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
5868756d
编写于
2月 05, 2007
作者:
R
Ralf Baechle
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[MIPS] SMTC: Make a bunch of functions and variables static.
Signed-off-by:
N
Ralf Baechle
<
ralf@linux-mips.org
>
上级
99d233fa
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
9 addition
and
12 deletion
+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
未找到文件。
arch/mips/kernel/smtc.c
浏览文件 @
5868756d
...
@@ -67,15 +67,15 @@ unsigned int ipi_timer_latch[NR_CPUS];
...
@@ -67,15 +67,15 @@ unsigned int ipi_timer_latch[NR_CPUS];
#define IPIBUF_PER_CPU 4
#define IPIBUF_PER_CPU 4
struct
smtc_ipi_q
IPIQ
[
NR_CPUS
];
st
atic
st
ruct
smtc_ipi_q
IPIQ
[
NR_CPUS
];
struct
smtc_ipi_q
freeIPIq
;
st
atic
st
ruct
smtc_ipi_q
freeIPIq
;
/* Forward declarations */
/* Forward declarations */
void
ipi_decode
(
struct
smtc_ipi
*
);
void
ipi_decode
(
struct
smtc_ipi
*
);
void
post_direct_ipi
(
int
cpu
,
struct
smtc_ipi
*
pipi
);
static
void
post_direct_ipi
(
int
cpu
,
struct
smtc_ipi
*
pipi
);
void
setup_cross_vpe_interrupts
(
void
);
static
void
setup_cross_vpe_interrupts
(
void
);
void
init_smtc_stats
(
void
);
void
init_smtc_stats
(
void
);
/* Global SMTC Status */
/* Global SMTC Status */
...
@@ -190,7 +190,7 @@ void __init sanitize_tlb_entries(void)
...
@@ -190,7 +190,7 @@ void __init sanitize_tlb_entries(void)
* Configure shared TLB - VPC configuration bit must be set by caller
* 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
;
int
i
,
tlbsiz
,
vpes
;
unsigned
long
mvpconf0
;
unsigned
long
mvpconf0
;
...
@@ -638,7 +638,7 @@ int setup_irq_smtc(unsigned int irq, struct irqaction * new,
...
@@ -638,7 +638,7 @@ int setup_irq_smtc(unsigned int irq, struct irqaction * new,
* the VPE.
* the VPE.
*/
*/
void
smtc_ipi_qdump
(
void
)
static
void
smtc_ipi_qdump
(
void
)
{
{
int
i
;
int
i
;
...
@@ -749,7 +749,7 @@ void smtc_send_ipi(int cpu, int type, unsigned int action)
...
@@ -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
* 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
;
struct
pt_regs
*
kstack
;
unsigned
long
tcstatus
;
unsigned
long
tcstatus
;
...
@@ -968,7 +968,7 @@ static void ipi_irq_dispatch(void)
...
@@ -968,7 +968,7 @@ static void ipi_irq_dispatch(void)
static
struct
irqaction
irq_ipi
;
static
struct
irqaction
irq_ipi
;
void
setup_cross_vpe_interrupts
(
void
)
static
void
setup_cross_vpe_interrupts
(
void
)
{
{
if
(
!
cpu_has_vint
)
if
(
!
cpu_has_vint
)
panic
(
"SMTC Kernel requires Vectored Interupt support"
);
panic
(
"SMTC Kernel requires Vectored Interupt support"
);
...
@@ -1264,7 +1264,7 @@ void smtc_flush_tlb_asid(unsigned long asid)
...
@@ -1264,7 +1264,7 @@ void smtc_flush_tlb_asid(unsigned long asid)
* Support for single-threading cache flush operations.
* 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
* To really, really be sure that nothing is being done
...
...
include/asm-mips/smtc_ipi.h
浏览文件 @
5868756d
...
@@ -44,9 +44,6 @@ struct smtc_ipi_q {
...
@@ -44,9 +44,6 @@ struct smtc_ipi_q {
int
depth
;
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
)
static
inline
void
smtc_ipi_nq
(
struct
smtc_ipi_q
*
q
,
struct
smtc_ipi
*
p
)
{
{
long
flags
;
long
flags
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录