Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
be577a52
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
be577a52
编写于
10月 06, 2006
作者:
M
Matthew Wilcox
提交者:
Matthew Wilcox
10月 06, 2006
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Build fixes for struct pt_regs removal
Signed-off-by:
N
Matthew Wilcox
<
matthew@wil.cx
>
上级
e317c8cc
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
29 addition
and
28 deletion
+29
-28
arch/parisc/kernel/irq.c
arch/parisc/kernel/irq.c
+3
-3
arch/parisc/kernel/time.c
arch/parisc/kernel/time.c
+1
-1
drivers/input/keyboard/hil_kbd.c
drivers/input/keyboard/hil_kbd.c
+1
-1
drivers/input/mouse/hil_ptr.c
drivers/input/mouse/hil_ptr.c
+1
-1
drivers/input/serio/gscps2.c
drivers/input/serio/gscps2.c
+2
-2
drivers/input/serio/hil_mlc.c
drivers/input/serio/hil_mlc.c
+16
-16
drivers/net/lasi_82596.c
drivers/net/lasi_82596.c
+1
-1
drivers/parisc/dino.c
drivers/parisc/dino.c
+1
-1
drivers/parisc/eisa.c
drivers/parisc/eisa.c
+1
-1
drivers/serial/mux.c
drivers/serial/mux.c
+1
-1
include/asm-parisc/irq_regs.h
include/asm-parisc/irq_regs.h
+1
-0
未找到文件。
arch/parisc/kernel/irq.c
浏览文件 @
be577a52
...
...
@@ -35,8 +35,8 @@
#undef PARISC_IRQ_CR16_COUNTS
extern
irqreturn_t
timer_interrupt
(
int
,
void
*
,
struct
pt_regs
*
);
extern
irqreturn_t
ipi_interrupt
(
int
,
void
*
,
struct
pt_regs
*
);
extern
irqreturn_t
timer_interrupt
(
int
,
void
*
);
extern
irqreturn_t
ipi_interrupt
(
int
,
void
*
);
#define EIEM_MASK(irq) (1UL<<(CPU_IRQ_MAX - irq))
...
...
@@ -375,7 +375,7 @@ void do_cpu_irq_mask(struct pt_regs *regs)
goto
set_out
;
}
#endif
__do_IRQ
(
irq
,
regs
);
__do_IRQ
(
irq
);
out:
irq_exit
();
...
...
arch/parisc/kernel/time.c
浏览文件 @
be577a52
...
...
@@ -66,7 +66,7 @@ irqreturn_t timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
/* gcc can optimize for "read-only" case with a local clocktick */
unsigned
long
cpt
=
clocktick
;
profile_tick
(
CPU_PROFILING
,
regs
);
profile_tick
(
CPU_PROFILING
);
/* Initialize next_tick to the expected tick time. */
next_tick
=
cpu_data
[
cpu
].
it_value
;
...
...
drivers/input/keyboard/hil_kbd.c
浏览文件 @
be577a52
...
...
@@ -328,7 +328,7 @@ static int hil_kbd_connect(struct serio *serio, struct serio_driver *drv)
kbd
->
dev
->
id
.
vendor
=
PCI_VENDOR_ID_HP
;
kbd
->
dev
->
id
.
product
=
0x0001
;
/* TODO: get from kbd->rsc */
kbd
->
dev
->
id
.
version
=
0x0100
;
/* TODO: get from kbd->rsc */
kbd
->
dev
->
dev
=
&
serio
->
dev
;
kbd
->
dev
->
cdev
.
dev
=
&
serio
->
dev
;
for
(
i
=
0
;
i
<
128
;
i
++
)
{
set_bit
(
hil_kbd_set1
[
i
],
kbd
->
dev
->
keybit
);
...
...
drivers/input/mouse/hil_ptr.c
浏览文件 @
be577a52
...
...
@@ -375,7 +375,7 @@ static int hil_ptr_connect(struct serio *serio, struct serio_driver *driver)
ptr
->
dev
->
id
.
vendor
=
PCI_VENDOR_ID_HP
;
ptr
->
dev
->
id
.
product
=
0x0001
;
/* TODO: get from ptr->rsc */
ptr
->
dev
->
id
.
version
=
0x0100
;
/* TODO: get from ptr->rsc */
ptr
->
dev
->
dev
=
&
serio
->
dev
;
ptr
->
dev
->
cdev
.
dev
=
&
serio
->
dev
;
input_register_device
(
ptr
->
dev
);
printk
(
KERN_INFO
"input: %s (%s), ID: %d
\n
"
,
...
...
drivers/input/serio/gscps2.c
浏览文件 @
be577a52
...
...
@@ -166,7 +166,7 @@ static inline int gscps2_writeb_output(struct gscps2port *ps2port, u8 data)
/* make sure any received data is returned as fast as possible */
/* this is important e.g. when we set the LEDs on the keyboard */
gscps2_interrupt
(
0
,
NULL
,
NULL
);
gscps2_interrupt
(
0
,
NULL
);
return
1
;
}
...
...
@@ -306,7 +306,7 @@ static int gscps2_open(struct serio *port)
/* enable it */
gscps2_enable
(
ps2port
,
ENABLE
);
gscps2_interrupt
(
0
,
NULL
,
NULL
);
gscps2_interrupt
(
0
,
NULL
);
return
0
;
}
...
...
drivers/input/serio/hil_mlc.c
浏览文件 @
be577a52
...
...
@@ -162,10 +162,10 @@ static void hil_mlc_send_polls(hil_mlc *mlc) {
if
(
did
!=
(
p
&
HIL_PKT_ADDR_MASK
)
>>
8
)
{
if
(
drv
==
NULL
||
drv
->
interrupt
==
NULL
)
goto
skip
;
drv
->
interrupt
(
serio
,
0
,
0
,
NULL
);
drv
->
interrupt
(
serio
,
HIL_ERR_INT
>>
16
,
0
,
NULL
);
drv
->
interrupt
(
serio
,
HIL_PKT_CMD
>>
8
,
0
,
NULL
);
drv
->
interrupt
(
serio
,
HIL_CMD_POL
+
cnt
,
0
,
NULL
);
drv
->
interrupt
(
serio
,
0
,
0
);
drv
->
interrupt
(
serio
,
HIL_ERR_INT
>>
16
,
0
);
drv
->
interrupt
(
serio
,
HIL_PKT_CMD
>>
8
,
0
);
drv
->
interrupt
(
serio
,
HIL_CMD_POL
+
cnt
,
0
);
skip:
did
=
(
p
&
HIL_PKT_ADDR_MASK
)
>>
8
;
serio
=
did
?
mlc
->
serio
[
mlc
->
di_map
[
did
-
1
]]
:
NULL
;
...
...
@@ -174,10 +174,10 @@ static void hil_mlc_send_polls(hil_mlc *mlc) {
}
cnt
++
;
i
++
;
if
(
drv
==
NULL
||
drv
->
interrupt
==
NULL
)
continue
;
drv
->
interrupt
(
serio
,
(
p
>>
24
),
0
,
NULL
);
drv
->
interrupt
(
serio
,
(
p
>>
16
)
&
0xff
,
0
,
NULL
);
drv
->
interrupt
(
serio
,
(
p
>>
8
)
&
~
HIL_PKT_ADDR_MASK
,
0
,
NULL
);
drv
->
interrupt
(
serio
,
p
&
0xff
,
0
,
NULL
);
drv
->
interrupt
(
serio
,
(
p
>>
24
),
0
);
drv
->
interrupt
(
serio
,
(
p
>>
16
)
&
0xff
,
0
);
drv
->
interrupt
(
serio
,
(
p
>>
8
)
&
~
HIL_PKT_ADDR_MASK
,
0
);
drv
->
interrupt
(
serio
,
p
&
0xff
,
0
);
}
}
...
...
@@ -780,16 +780,16 @@ static int hil_mlc_serio_write(struct serio *serio, unsigned char c) {
while
((
last
!=
idx
)
&&
(
*
last
==
0
))
last
--
;
while
(
idx
!=
last
)
{
drv
->
interrupt
(
serio
,
0
,
0
,
NULL
);
drv
->
interrupt
(
serio
,
HIL_ERR_INT
>>
16
,
0
,
NULL
);
drv
->
interrupt
(
serio
,
0
,
0
,
NULL
);
drv
->
interrupt
(
serio
,
*
idx
,
0
,
NULL
);
drv
->
interrupt
(
serio
,
0
,
0
);
drv
->
interrupt
(
serio
,
HIL_ERR_INT
>>
16
,
0
);
drv
->
interrupt
(
serio
,
0
,
0
);
drv
->
interrupt
(
serio
,
*
idx
,
0
);
idx
++
;
}
drv
->
interrupt
(
serio
,
0
,
0
,
NULL
);
drv
->
interrupt
(
serio
,
HIL_ERR_INT
>>
16
,
0
,
NULL
);
drv
->
interrupt
(
serio
,
HIL_PKT_CMD
>>
8
,
0
,
NULL
);
drv
->
interrupt
(
serio
,
*
idx
,
0
,
NULL
);
drv
->
interrupt
(
serio
,
0
,
0
);
drv
->
interrupt
(
serio
,
HIL_ERR_INT
>>
16
,
0
);
drv
->
interrupt
(
serio
,
HIL_PKT_CMD
>>
8
,
0
);
drv
->
interrupt
(
serio
,
*
idx
,
0
);
mlc
->
serio_oidx
[
map
->
didx
]
=
0
;
mlc
->
serio_opacket
[
map
->
didx
]
=
0
;
...
...
drivers/net/lasi_82596.c
浏览文件 @
be577a52
...
...
@@ -1252,7 +1252,7 @@ static int __devinit i82596_probe(struct net_device *dev,
static
void
i596_poll_controller
(
struct
net_device
*
dev
)
{
disable_irq
(
dev
->
irq
);
i596_interrupt
(
dev
->
irq
,
dev
,
NULL
);
i596_interrupt
(
dev
->
irq
,
dev
);
enable_irq
(
dev
->
irq
);
}
#endif
...
...
drivers/parisc/dino.c
浏览文件 @
be577a52
...
...
@@ -389,7 +389,7 @@ static irqreturn_t dino_isr(int irq, void *intr_dev)
int
irq
=
dino_dev
->
global_irq
[
local_irq
];
DBG
(
KERN_DEBUG
"%s(%d, %p) mask 0x%x
\n
"
,
__FUNCTION__
,
irq
,
intr_dev
,
mask
);
__do_IRQ
(
irq
,
regs
);
__do_IRQ
(
irq
);
mask
&=
~
(
1
<<
local_irq
);
}
while
(
mask
);
...
...
drivers/parisc/eisa.c
浏览文件 @
be577a52
...
...
@@ -234,7 +234,7 @@ static irqreturn_t eisa_irq(int wax_irq, void *intr_dev)
}
spin_unlock_irqrestore
(
&
eisa_irq_lock
,
flags
);
__do_IRQ
(
irq
,
regs
);
__do_IRQ
(
irq
);
spin_lock_irqsave
(
&
eisa_irq_lock
,
flags
);
/* unmask */
...
...
drivers/serial/mux.c
浏览文件 @
be577a52
...
...
@@ -230,7 +230,7 @@ static void mux_read(struct uart_port *port)
continue
;
}
if
(
uart_handle_sysrq_char
(
port
,
data
&
0xffu
,
NULL
))
if
(
uart_handle_sysrq_char
(
port
,
data
&
0xffu
))
continue
;
tty_insert_flip_char
(
tty
,
data
&
0xFF
,
TTY_NORMAL
);
...
...
include/asm-parisc/irq_regs.h
0 → 100644
浏览文件 @
be577a52
#include <asm-generic/irq_regs.h>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录