Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
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>
#include <linux/kernel.h>
...
@@ -149,7 +149,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
...
@@ -149,7 +149,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
ret
=
generic_ptrace_pokedata
(
child
,
addr
,
data
);
ret
=
generic_ptrace_pokedata
(
child
,
addr
,
data
);
break
;
break
;
/* Write the word at location address in the USER area. */
/* Write the word at location address in the USER area. */
case
PTRACE_POKEUSR
:
case
PTRACE_POKEUSR
:
ret
=
-
EIO
;
ret
=
-
EIO
;
if
((
addr
&
3
)
||
addr
<
0
||
addr
>
PT_MAX
<<
2
)
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)
...
@@ -201,7 +201,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
break
;
break
;
/* Make the child exit by sending it a sigkill. */
/* Make the child exit by sending it a sigkill. */
case
PTRACE_KILL
:
case
PTRACE_KILL
:
ret
=
0
;
ret
=
0
;
...
@@ -245,9 +245,10 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
...
@@ -245,9 +245,10 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
break
;
break
;
}
}
/* Get all GP registers from the child. */
/* Get all GP registers from the child. */
case
PTRACE_GETREGS
:
{
case
PTRACE_GETREGS
:
{
int
i
;
int
i
;
unsigned
long
tmp
;
unsigned
long
tmp
;
for
(
i
=
0
;
i
<=
PT_MAX
;
i
++
)
{
for
(
i
=
0
;
i
<=
PT_MAX
;
i
++
)
{
...
@@ -294,6 +295,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
...
@@ -294,6 +295,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
break
;
break
;
}
}
out_tsk:
return
ret
;
return
ret
;
}
}
...
...
arch/cris/arch-v32/mm/Makefile
View file @
54ab4d72
# Makefile for the Linux/cris parts of the memory manager.
# 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