Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
946e91f3
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看板
提交
946e91f3
编写于
9月 07, 2005
作者:
L
Linus Torvalds
浏览文件
操作
浏览文件
下载
差异文件
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
上级
f7402dc4
09bbe104
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
7 addition
and
8 deletion
+7
-8
arch/sparc64/kernel/sunos_ioctl32.c
arch/sparc64/kernel/sunos_ioctl32.c
+5
-4
include/linux/serial_core.h
include/linux/serial_core.h
+2
-4
未找到文件。
arch/sparc64/kernel/sunos_ioctl32.c
浏览文件 @
946e91f3
...
@@ -152,11 +152,12 @@ asmlinkage int sunos_ioctl (int fd, u32 cmd, u32 arg)
...
@@ -152,11 +152,12 @@ asmlinkage int sunos_ioctl (int fd, u32 cmd, u32 arg)
ret
=
compat_sys_ioctl
(
fd
,
SIOCGIFCONF
,
arg
);
ret
=
compat_sys_ioctl
(
fd
,
SIOCGIFCONF
,
arg
);
goto
out
;
goto
out
;
case
_IOW
(
'i'
,
21
,
struct
ifreq
):
/* SIOCSIFMTU */
case
_IOW
(
'i'
,
21
,
struct
ifreq
32
):
ret
=
sys_ioctl
(
fd
,
SIOCSIFMTU
,
arg
);
ret
=
compat_
sys_ioctl
(
fd
,
SIOCSIFMTU
,
arg
);
goto
out
;
goto
out
;
case
_IOWR
(
'i'
,
22
,
struct
ifreq
):
/* SIOCGIFMTU */
ret
=
sys_ioctl
(
fd
,
SIOCGIFMTU
,
arg
);
case
_IOWR
(
'i'
,
22
,
struct
ifreq32
):
ret
=
compat_sys_ioctl
(
fd
,
SIOCGIFMTU
,
arg
);
goto
out
;
goto
out
;
case
_IOWR
(
'i'
,
23
,
struct
ifreq32
):
case
_IOWR
(
'i'
,
23
,
struct
ifreq32
):
...
...
include/linux/serial_core.h
浏览文件 @
946e91f3
...
@@ -385,11 +385,11 @@ int uart_resume_port(struct uart_driver *reg, struct uart_port *port);
...
@@ -385,11 +385,11 @@ int uart_resume_port(struct uart_driver *reg, struct uart_port *port);
/*
/*
* The following are helper functions for the low level drivers.
* The following are helper functions for the low level drivers.
*/
*/
#ifdef SUPPORT_SYSRQ
static
inline
int
static
inline
int
uart_handle_sysrq_char
(
struct
uart_port
*
port
,
unsigned
int
ch
,
uart_handle_sysrq_char
(
struct
uart_port
*
port
,
unsigned
int
ch
,
struct
pt_regs
*
regs
)
struct
pt_regs
*
regs
)
{
{
#ifdef SUPPORT_SYSRQ
if
(
port
->
sysrq
)
{
if
(
port
->
sysrq
)
{
if
(
ch
&&
time_before
(
jiffies
,
port
->
sysrq
))
{
if
(
ch
&&
time_before
(
jiffies
,
port
->
sysrq
))
{
handle_sysrq
(
ch
,
regs
,
NULL
);
handle_sysrq
(
ch
,
regs
,
NULL
);
...
@@ -398,11 +398,9 @@ uart_handle_sysrq_char(struct uart_port *port, unsigned int ch,
...
@@ -398,11 +398,9 @@ uart_handle_sysrq_char(struct uart_port *port, unsigned int ch,
}
}
port
->
sysrq
=
0
;
port
->
sysrq
=
0
;
}
}
#endif
return
0
;
return
0
;
}
}
#else
#define uart_handle_sysrq_char(port,ch,regs) (0)
#endif
/*
/*
* We do the SysRQ and SAK checking like this...
* We do the SysRQ and SAK checking like this...
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录