Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
0b98b163
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
0b98b163
编写于
3月 28, 2011
作者:
T
Thomas Gleixner
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
m68k: Convert irq function namespace
Scripted with coccinelle. Signed-off-by:
N
Thomas Gleixner
<
tglx@linutronix.de
>
上级
a3b975c4
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
26 addition
and
26 deletion
+26
-26
arch/m68k/kernel/irq.c
arch/m68k/kernel/irq.c
+1
-1
arch/m68k/platform/5249/intc2.c
arch/m68k/platform/5249/intc2.c
+2
-2
arch/m68k/platform/5272/intc.c
arch/m68k/platform/5272/intc.c
+6
-6
arch/m68k/platform/68328/ints.c
arch/m68k/platform/68328/ints.c
+2
-2
arch/m68k/platform/68360/ints.c
arch/m68k/platform/68360/ints.c
+2
-2
arch/m68k/platform/coldfire/intc-2.c
arch/m68k/platform/coldfire/intc-2.c
+5
-5
arch/m68k/platform/coldfire/intc-simr.c
arch/m68k/platform/coldfire/intc-simr.c
+5
-5
arch/m68k/platform/coldfire/intc.c
arch/m68k/platform/coldfire/intc.c
+3
-3
未找到文件。
arch/m68k/kernel/irq.c
浏览文件 @
0b98b163
...
...
@@ -44,7 +44,7 @@ int show_interrupts(struct seq_file *p, void *v)
if
(
ap
)
{
seq_printf
(
p
,
"%3d: "
,
irq
);
seq_printf
(
p
,
"%10u "
,
kstat_irqs
(
irq
));
seq_printf
(
p
,
"%14s "
,
get_irq_desc
_chip
(
desc
)
->
name
);
seq_printf
(
p
,
"%14s "
,
irq_desc_get
_chip
(
desc
)
->
name
);
seq_printf
(
p
,
"%s"
,
ap
->
name
);
for
(
ap
=
ap
->
next
;
ap
;
ap
=
ap
->
next
)
...
...
arch/m68k/platform/5249/intc2.c
浏览文件 @
0b98b163
...
...
@@ -51,8 +51,8 @@ static int __init mcf_intc2_init(void)
/* GPIO interrupt sources */
for
(
irq
=
MCFINTC2_GPIOIRQ0
;
(
irq
<=
MCFINTC2_GPIOIRQ7
);
irq
++
)
{
set_irq
_chip
(
irq
,
&
intc2_irq_gpio_chip
);
set_irq
_handler
(
irq
,
handle_edge_irq
);
irq_set
_chip
(
irq
,
&
intc2_irq_gpio_chip
);
irq_set
_handler
(
irq
,
handle_edge_irq
);
}
return
0
;
...
...
arch/m68k/platform/5272/intc.c
浏览文件 @
0b98b163
...
...
@@ -145,7 +145,7 @@ static int intc_irq_set_type(struct irq_data *d, unsigned int type)
*/
static
void
intc_external_irq
(
unsigned
int
irq
,
struct
irq_desc
*
desc
)
{
get_irq_desc
_chip
(
desc
)
->
irq_ack
(
&
desc
->
irq_data
);
irq_desc_get
_chip
(
desc
)
->
irq_ack
(
&
desc
->
irq_data
);
handle_simple_irq
(
irq
,
desc
);
}
...
...
@@ -171,16 +171,16 @@ void __init init_IRQ(void)
writel
(
0x88888888
,
MCF_MBAR
+
MCFSIM_ICR4
);
for
(
irq
=
0
;
(
irq
<
NR_IRQS
);
irq
++
)
{
set_irq
_chip
(
irq
,
&
intc_irq_chip
);
irq_set
_chip
(
irq
,
&
intc_irq_chip
);
edge
=
0
;
if
((
irq
>=
MCFINT_VECBASE
)
&&
(
irq
<=
MCFINT_VECMAX
))
edge
=
intc_irqmap
[
irq
-
MCFINT_VECBASE
].
ack
;
if
(
edge
)
{
set_irq_type
(
irq
,
IRQ_TYPE_EDGE_RISING
);
set_irq
_handler
(
irq
,
intc_external_irq
);
irq_
set_irq_type
(
irq
,
IRQ_TYPE_EDGE_RISING
);
irq_set
_handler
(
irq
,
intc_external_irq
);
}
else
{
set_irq_type
(
irq
,
IRQ_TYPE_LEVEL_HIGH
);
set_irq
_handler
(
irq
,
handle_level_irq
);
irq_
set_irq_type
(
irq
,
IRQ_TYPE_LEVEL_HIGH
);
irq_set
_handler
(
irq
,
handle_level_irq
);
}
}
}
...
...
arch/m68k/platform/68328/ints.c
浏览文件 @
0b98b163
...
...
@@ -179,8 +179,8 @@ void __init init_IRQ(void)
IMR
=
~
0
;
for
(
i
=
0
;
(
i
<
NR_IRQS
);
i
++
)
{
set_irq
_chip
(
i
,
&
intc_irq_chip
);
set_irq
_handler
(
i
,
handle_level_irq
);
irq_set
_chip
(
i
,
&
intc_irq_chip
);
irq_set
_handler
(
i
,
handle_level_irq
);
}
}
arch/m68k/platform/68360/ints.c
浏览文件 @
0b98b163
...
...
@@ -132,8 +132,8 @@ void init_IRQ(void)
pquicc
->
intr_cimr
=
0x00000000
;
for
(
i
=
0
;
(
i
<
NR_IRQS
);
i
++
)
{
set_irq
_chip
(
i
,
&
intc_irq_chip
);
set_irq
_handler
(
i
,
handle_level_irq
);
irq_set
_chip
(
i
,
&
intc_irq_chip
);
irq_set
_handler
(
i
,
handle_level_irq
);
}
}
arch/m68k/platform/coldfire/intc-2.c
浏览文件 @
0b98b163
...
...
@@ -164,7 +164,7 @@ static int intc_irq_set_type(struct irq_data *d, unsigned int type)
}
if
(
tb
)
set_irq
_handler
(
irq
,
handle_edge_irq
);
irq_set
_handler
(
irq
,
handle_edge_irq
);
irq
-=
EINT0
;
pa
=
__raw_readw
(
MCFEPORT_EPPAR
);
...
...
@@ -204,11 +204,11 @@ void __init init_IRQ(void)
for
(
irq
=
MCFINT_VECBASE
;
(
irq
<
MCFINT_VECBASE
+
NR_VECS
);
irq
++
)
{
if
((
irq
>=
EINT1
)
&&
(
irq
<=
EINT7
))
set_irq
_chip
(
irq
,
&
intc_irq_chip_edge_port
);
irq_set
_chip
(
irq
,
&
intc_irq_chip_edge_port
);
else
set_irq
_chip
(
irq
,
&
intc_irq_chip
);
set_irq_type
(
irq
,
IRQ_TYPE_LEVEL_HIGH
);
set_irq
_handler
(
irq
,
handle_level_irq
);
irq_set
_chip
(
irq
,
&
intc_irq_chip
);
irq_
set_irq_type
(
irq
,
IRQ_TYPE_LEVEL_HIGH
);
irq_set
_handler
(
irq
,
handle_level_irq
);
}
}
arch/m68k/platform/coldfire/intc-simr.c
浏览文件 @
0b98b163
...
...
@@ -141,7 +141,7 @@ static int intc_irq_set_type(struct irq_data *d, unsigned int type)
}
if
(
tb
)
set_irq
_handler
(
irq
,
handle_edge_irq
);
irq_set
_handler
(
irq
,
handle_edge_irq
);
ebit
=
irq2ebit
(
irq
)
*
2
;
pa
=
__raw_readw
(
MCFEPORT_EPPAR
);
...
...
@@ -181,11 +181,11 @@ void __init init_IRQ(void)
eirq
=
MCFINT_VECBASE
+
64
+
(
MCFINTC1_ICR0
?
64
:
0
);
for
(
irq
=
MCFINT_VECBASE
;
(
irq
<
eirq
);
irq
++
)
{
if
((
irq
>=
EINT1
)
&&
(
irq
<=
EINT7
))
set_irq
_chip
(
irq
,
&
intc_irq_chip_edge_port
);
irq_set
_chip
(
irq
,
&
intc_irq_chip_edge_port
);
else
set_irq
_chip
(
irq
,
&
intc_irq_chip
);
set_irq_type
(
irq
,
IRQ_TYPE_LEVEL_HIGH
);
set_irq
_handler
(
irq
,
handle_level_irq
);
irq_set
_chip
(
irq
,
&
intc_irq_chip
);
irq_
set_irq_type
(
irq
,
IRQ_TYPE_LEVEL_HIGH
);
irq_set
_handler
(
irq
,
handle_level_irq
);
}
}
arch/m68k/platform/coldfire/intc.c
浏览文件 @
0b98b163
...
...
@@ -143,9 +143,9 @@ void __init init_IRQ(void)
mcf_maskimr
(
0xffffffff
);
for
(
irq
=
0
;
(
irq
<
NR_IRQS
);
irq
++
)
{
set_irq
_chip
(
irq
,
&
intc_irq_chip
);
set_irq_type
(
irq
,
IRQ_TYPE_LEVEL_HIGH
);
set_irq
_handler
(
irq
,
handle_level_irq
);
irq_set
_chip
(
irq
,
&
intc_irq_chip
);
irq_
set_irq_type
(
irq
,
IRQ_TYPE_LEVEL_HIGH
);
irq_set
_handler
(
irq
,
handle_level_irq
);
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录