Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kernel
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Linaro
qcomlt
kernel
Commits
946e91f3
Commit
946e91f3
authored
19 years ago
by
Linus Torvalds
Browse files
Options
Downloads
Plain Diff
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
parents
f7402dc4
09bbe104
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/sparc64/kernel/sunos_ioctl32.c
+5
-4
5 additions, 4 deletions
arch/sparc64/kernel/sunos_ioctl32.c
include/linux/serial_core.h
+2
-4
2 additions, 4 deletions
include/linux/serial_core.h
with
7 additions
and
8 deletions
arch/sparc64/kernel/sunos_ioctl32.c
+
5
−
4
View file @
946e91f3
...
...
@@ -152,11 +152,12 @@ asmlinkage int sunos_ioctl (int fd, u32 cmd, u32 arg)
ret
=
compat_sys_ioctl
(
fd
,
SIOCGIFCONF
,
arg
);
goto
out
;
case
_IOW
(
'i'
,
21
,
struct
ifreq
):
/* SIOCSIFMTU */
ret
=
sys_ioctl
(
fd
,
SIOCSIFMTU
,
arg
);
case
_IOW
(
'i'
,
21
,
struct
ifreq
32
):
ret
=
compat_
sys_ioctl
(
fd
,
SIOCSIFMTU
,
arg
);
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
;
case
_IOWR
(
'i'
,
23
,
struct
ifreq32
):
...
...
This diff is collapsed.
Click to expand it.
include/linux/serial_core.h
+
2
−
4
View file @
946e91f3
...
...
@@ -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.
*/
#ifdef SUPPORT_SYSRQ
static
inline
int
uart_handle_sysrq_char
(
struct
uart_port
*
port
,
unsigned
int
ch
,
struct
pt_regs
*
regs
)
{
#ifdef SUPPORT_SYSRQ
if
(
port
->
sysrq
)
{
if
(
ch
&&
time_before
(
jiffies
,
port
->
sysrq
))
{
handle_sysrq
(
ch
,
regs
,
NULL
);
...
...
@@ -398,11 +398,9 @@ uart_handle_sysrq_char(struct uart_port *port, unsigned int ch,
}
port
->
sysrq
=
0
;
}
#endif
return
0
;
}
#else
#define uart_handle_sysrq_char(port,ch,regs) (0)
#endif
/*
* We do the SysRQ and SAK checking like this...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment