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
nexedi
linux
Commits
54ce9256
Commit
54ce9256
authored
Apr 13, 2012
by
Richard Weinberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
um: Remove unused variables
Signed-off-by:
Richard Weinberger
<
richard@nod.at
>
parent
9daeaa37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
arch/um/os-Linux/skas/mem.c
arch/um/os-Linux/skas/mem.c
+0
-10
No files found.
arch/um/os-Linux/skas/mem.c
View file @
54ce9256
...
...
@@ -48,10 +48,6 @@ __initcall(init_syscall_regs);
extern
int
proc_mm
;
int
single_count
=
0
;
int
multi_count
=
0
;
int
multi_op_count
=
0
;
static
inline
long
do_syscall_stub
(
struct
mm_id
*
mm_idp
,
void
**
addr
)
{
int
n
,
i
;
...
...
@@ -64,8 +60,6 @@ static inline long do_syscall_stub(struct mm_id * mm_idp, void **addr)
/* FIXME: Need to look up userspace_pid by cpu */
pid
=
userspace_pid
[
0
];
multi_count
++
;
n
=
ptrace_setregs
(
pid
,
syscall_regs
);
if
(
n
<
0
)
{
printk
(
UM_KERN_ERR
"Registers -
\n
"
);
...
...
@@ -126,9 +120,6 @@ long run_syscall_stub(struct mm_id * mm_idp, int syscall,
{
unsigned
long
*
stack
=
check_init_stack
(
mm_idp
,
*
addr
);
if
(
done
&&
*
addr
==
NULL
)
single_count
++
;
*
stack
+=
sizeof
(
long
);
stack
+=
*
stack
/
sizeof
(
long
);
...
...
@@ -141,7 +132,6 @@ long run_syscall_stub(struct mm_id * mm_idp, int syscall,
*
stack
++
=
args
[
5
];
*
stack
++
=
expected
;
*
stack
=
0
;
multi_op_count
++
;
if
(
!
done
&&
((((
unsigned
long
)
stack
)
&
~
UM_KERN_PAGE_MASK
)
<
UM_KERN_PAGE_SIZE
-
10
*
sizeof
(
long
)))
{
...
...
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