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
8d0177db
Commit
8d0177db
authored
Jan 09, 2010
by
Mike Frysinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Blackfin: kgdb: mark all local funcs/structs static
Signed-off-by:
Mike Frysinger
<
vapier@gentoo.org
>
parent
48a74f9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
arch/blackfin/kernel/kgdb.c
arch/blackfin/kernel/kgdb.c
+5
-5
No files found.
arch/blackfin/kernel/kgdb.c
View file @
8d0177db
...
@@ -145,7 +145,7 @@ void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs)
...
@@ -145,7 +145,7 @@ void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs)
#endif
#endif
}
}
struct
hw_breakpoint
{
st
atic
st
ruct
hw_breakpoint
{
unsigned
int
occupied
:
1
;
unsigned
int
occupied
:
1
;
unsigned
int
skip
:
1
;
unsigned
int
skip
:
1
;
unsigned
int
enabled
:
1
;
unsigned
int
enabled
:
1
;
...
@@ -155,7 +155,7 @@ struct hw_breakpoint {
...
@@ -155,7 +155,7 @@ struct hw_breakpoint {
unsigned
int
addr
;
unsigned
int
addr
;
}
breakinfo
[
HW_WATCHPOINT_NUM
];
}
breakinfo
[
HW_WATCHPOINT_NUM
];
int
bfin_set_hw_break
(
unsigned
long
addr
,
int
len
,
enum
kgdb_bptype
type
)
static
int
bfin_set_hw_break
(
unsigned
long
addr
,
int
len
,
enum
kgdb_bptype
type
)
{
{
int
breakno
;
int
breakno
;
int
bfin_type
;
int
bfin_type
;
...
@@ -202,7 +202,7 @@ int bfin_set_hw_break(unsigned long addr, int len, enum kgdb_bptype type)
...
@@ -202,7 +202,7 @@ int bfin_set_hw_break(unsigned long addr, int len, enum kgdb_bptype type)
return
-
ENOSPC
;
return
-
ENOSPC
;
}
}
int
bfin_remove_hw_break
(
unsigned
long
addr
,
int
len
,
enum
kgdb_bptype
type
)
static
int
bfin_remove_hw_break
(
unsigned
long
addr
,
int
len
,
enum
kgdb_bptype
type
)
{
{
int
breakno
;
int
breakno
;
int
bfin_type
;
int
bfin_type
;
...
@@ -230,7 +230,7 @@ int bfin_remove_hw_break(unsigned long addr, int len, enum kgdb_bptype type)
...
@@ -230,7 +230,7 @@ int bfin_remove_hw_break(unsigned long addr, int len, enum kgdb_bptype type)
return
0
;
return
0
;
}
}
void
bfin_remove_all_hw_break
(
void
)
static
void
bfin_remove_all_hw_break
(
void
)
{
{
int
breakno
;
int
breakno
;
...
@@ -242,7 +242,7 @@ void bfin_remove_all_hw_break(void)
...
@@ -242,7 +242,7 @@ void bfin_remove_all_hw_break(void)
breakinfo
[
breakno
].
type
=
TYPE_DATA_WATCHPOINT
;
breakinfo
[
breakno
].
type
=
TYPE_DATA_WATCHPOINT
;
}
}
void
bfin_correct_hw_break
(
void
)
static
void
bfin_correct_hw_break
(
void
)
{
{
int
breakno
;
int
breakno
;
unsigned
int
wpiactl
=
0
;
unsigned
int
wpiactl
=
0
;
...
...
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