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
54ab4d72
Commit
54ab4d72
authored
Nov 30, 2007
by
Jesper Nilsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CRIS v32: Whitespace and formatting changes for kernel/ptrace.c
parent
1ddba025
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
arch/cris/arch-v32/kernel/ptrace.c
arch/cris/arch-v32/kernel/ptrace.c
+6
-4
arch/cris/arch-v32/mm/Makefile
arch/cris/arch-v32/mm/Makefile
+2
-1
No files found.
arch/cris/arch-v32/kernel/ptrace.c
View file @
54ab4d72
/*
* Copyright (C) 2000-200
3
, Axis Communications AB.
* Copyright (C) 2000-200
7
, Axis Communications AB.
*/
#include <linux/kernel.h>
...
...
@@ -149,7 +149,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
ret
=
generic_ptrace_pokedata
(
child
,
addr
,
data
);
break
;
/* Write the word at location address in the USER area. */
/* Write the word at location address in the USER area. */
case
PTRACE_POKEUSR
:
ret
=
-
EIO
;
if
((
addr
&
3
)
||
addr
<
0
||
addr
>
PT_MAX
<<
2
)
...
...
@@ -201,7 +201,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
break
;
/* Make the child exit by sending it a sigkill. */
/* Make the child exit by sending it a sigkill. */
case
PTRACE_KILL
:
ret
=
0
;
...
...
@@ -245,9 +245,10 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
break
;
}
/* Get all GP registers from the child. */
case
PTRACE_GETREGS
:
{
int
i
;
int
i
;
unsigned
long
tmp
;
for
(
i
=
0
;
i
<=
PT_MAX
;
i
++
)
{
...
...
@@ -294,6 +295,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
break
;
}
out_tsk:
return
ret
;
}
...
...
arch/cris/arch-v32/mm/Makefile
View file @
54ab4d72
# Makefile for the Linux/cris parts of the memory manager.
obj-y
:=
mmu.o init.o tlb.o intmem.o
obj-y
+=
mmu.o init.o tlb.o intmem.o
obj-$(CONFIG_ETRAX_L2CACHE)
+=
l2cache.o
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