Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
7a73c81e
Commit
7a73c81e
authored
Jan 10, 2012
by
Paul Mundt
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sh/urgent' into sh-latest
parents
4414d38a
abef3640
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
12 deletions
+5
-12
arch/sh/kernel/cpu/sh4/sq.c
arch/sh/kernel/cpu/sh4/sq.c
+4
-4
arch/sh/kernel/entry-common.S
arch/sh/kernel/entry-common.S
+1
-0
arch/sh/kernel/signal_32.c
arch/sh/kernel/signal_32.c
+0
-4
arch/sh/kernel/signal_64.c
arch/sh/kernel/signal_64.c
+0
-4
No files found.
arch/sh/kernel/cpu/sh4/sq.c
View file @
7a73c81e
...
...
@@ -337,7 +337,7 @@ static struct kobj_type ktype_percpu_entry = {
.
default_attrs
=
sq_sysfs_attrs
,
};
static
int
__devinit
sq_dev_add
(
struct
device
*
dev
)
static
int
sq_dev_add
(
struct
device
*
dev
,
struct
subsys_interface
*
sif
)
{
unsigned
int
cpu
=
dev
->
id
;
struct
kobject
*
kobj
;
...
...
@@ -355,7 +355,7 @@ static int __devinit sq_dev_add(struct device *dev)
return
error
;
}
static
int
__devexit
sq_dev_remove
(
struct
device
*
dev
)
static
int
sq_dev_remove
(
struct
device
*
dev
,
struct
subsys_interface
*
sif
)
{
unsigned
int
cpu
=
dev
->
id
;
struct
kobject
*
kobj
=
sq_kobject
[
cpu
];
...
...
@@ -365,10 +365,10 @@ static int __devexit sq_dev_remove(struct device *dev)
}
static
struct
subsys_interface
sq_interface
=
{
.
name
=
"sq"
.
name
=
"sq"
,
.
subsys
=
&
cpu_subsys
,
.
add_dev
=
sq_dev_add
,
.
remove_dev
=
__devexit_p
(
sq_dev_remove
)
,
.
remove_dev
=
sq_dev_remove
,
};
static
int
__init
sq_api_init
(
void
)
...
...
arch/sh/kernel/entry-common.S
View file @
7a73c81e
...
...
@@ -145,6 +145,7 @@ work_notifysig:
mov
r15
,
r4
mov
r12
,
r5
!
set
arg1
(
save_r0
)
mov
r0
,
r6
sti
mov.l
2
f
,
r1
mov.l
3
f
,
r0
jmp
@
r1
...
...
arch/sh/kernel/signal_32.c
View file @
7a73c81e
...
...
@@ -588,9 +588,6 @@ static void do_signal(struct pt_regs *regs, unsigned int save_r0)
if
(
!
user_mode
(
regs
))
return
;
if
(
try_to_freeze
())
goto
no_signal
;
if
(
current_thread_info
()
->
status
&
TS_RESTORE_SIGMASK
)
oldset
=
&
current
->
saved_sigmask
;
else
...
...
@@ -618,7 +615,6 @@ static void do_signal(struct pt_regs *regs, unsigned int save_r0)
return
;
}
no_signal:
/* Did we come from a system call? */
if
(
regs
->
tra
>=
0
)
{
/* Restart the system call - no handlers present */
...
...
arch/sh/kernel/signal_64.c
View file @
7a73c81e
...
...
@@ -98,9 +98,6 @@ static int do_signal(struct pt_regs *regs, sigset_t *oldset)
if
(
!
user_mode
(
regs
))
return
1
;
if
(
try_to_freeze
())
goto
no_signal
;
if
(
current_thread_info
()
->
status
&
TS_RESTORE_SIGMASK
)
oldset
=
&
current
->
saved_sigmask
;
else
if
(
!
oldset
)
...
...
@@ -125,7 +122,6 @@ static int do_signal(struct pt_regs *regs, sigset_t *oldset)
}
}
no_signal:
/* Did we come from a system call? */
if
(
regs
->
syscall_nr
>=
0
)
{
/* Restart the system call - no handlers present */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment