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
9adae972
Commit
9adae972
authored
Mar 02, 2010
by
Paul Mundt
Browse files
Options
Browse Files
Download
Plain Diff
Merge branches 'sh/dmaengine', 'sh/hw-breakpoints' and 'sh/trivial'
parents
73a19e4c
105244ec
4b62c0f1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
28 deletions
+8
-28
arch/sh/boot/compressed/cache.c
arch/sh/boot/compressed/cache.c
+1
-1
arch/sh/kernel/hw_breakpoint.c
arch/sh/kernel/hw_breakpoint.c
+6
-24
arch/sh/lib/libgcc.h
arch/sh/lib/libgcc.h
+1
-2
arch/sh/mm/pmb.c
arch/sh/mm/pmb.c
+0
-1
No files found.
arch/sh/boot/compressed/cache.c
View file @
9adae972
...
...
@@ -5,7 +5,7 @@ int cache_control(unsigned int command)
for
(
i
=
0
;
i
<
(
32
*
1024
);
i
+=
32
)
{
(
void
)
*
p
;
p
+=
(
32
/
sizeof
(
int
));
p
+=
(
32
/
sizeof
(
int
));
}
return
0
;
...
...
arch/sh/kernel/hw_breakpoint.c
View file @
9adae972
...
...
@@ -143,26 +143,6 @@ static int arch_check_va_in_kernelspace(unsigned long va, u8 hbp_len)
return
(
va
>=
TASK_SIZE
)
&&
((
va
+
len
-
1
)
>=
TASK_SIZE
);
}
/*
* Store a breakpoint's encoded address, length, and type.
*/
static
int
arch_store_info
(
struct
perf_event
*
bp
)
{
struct
arch_hw_breakpoint
*
info
=
counter_arch_bp
(
bp
);
/*
* User-space requests will always have the address field populated
* For kernel-addresses, either the address or symbol name can be
* specified.
*/
if
(
info
->
name
)
info
->
address
=
(
unsigned
long
)
kallsyms_lookup_name
(
info
->
name
);
if
(
info
->
address
)
return
0
;
return
-
EINVAL
;
}
int
arch_bp_generic_fields
(
int
sh_len
,
int
sh_type
,
int
*
gen_len
,
int
*
gen_type
)
{
...
...
@@ -276,10 +256,12 @@ int arch_validate_hwbkpt_settings(struct perf_event *bp,
return
ret
;
}
ret
=
arch_store_info
(
bp
);
if
(
ret
<
0
)
return
ret
;
/*
* For kernel-addresses, either the address or symbol name can be
* specified.
*/
if
(
info
->
name
)
info
->
address
=
(
unsigned
long
)
kallsyms_lookup_name
(
info
->
name
);
/*
* Check that the low-order bits of the address are appropriate
...
...
arch/sh/lib/libgcc.h
View file @
9adae972
...
...
@@ -17,8 +17,7 @@ struct DWstruct {
#error I feel sick.
#endif
typedef
union
{
typedef
union
{
struct
DWstruct
s
;
long
long
ll
;
}
DWunion
;
...
...
arch/sh/mm/pmb.c
View file @
9adae972
...
...
@@ -23,7 +23,6 @@
#include <linux/err.h>
#include <linux/io.h>
#include <linux/spinlock.h>
#include <linux/rwlock.h>
#include <asm/sizes.h>
#include <asm/system.h>
#include <asm/uaccess.h>
...
...
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