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
1910e4dc
Commit
1910e4dc
authored
Oct 28, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux
parents
9511b3bb
0a7290a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
arch/ia64/kernel/perfmon.c
arch/ia64/kernel/perfmon.c
+2
-2
arch/ia64/kernel/perfmon_mckinley.h
arch/ia64/kernel/perfmon_mckinley.h
+1
-1
No files found.
arch/ia64/kernel/perfmon.c
View file @
1910e4dc
...
@@ -4717,7 +4717,7 @@ pfm_check_task_state(pfm_context_t *ctx, int cmd, unsigned long flags)
...
@@ -4717,7 +4717,7 @@ pfm_check_task_state(pfm_context_t *ctx, int cmd, unsigned long flags)
/*
/*
* context is UNLOADED, MASKED, TERMINATED we are safe to go
* context is UNLOADED, MASKED, TERMINATED we are safe to go
*/
*/
if
(
state
!=
PFM_CTX_LOADED
==
0
)
return
0
;
if
(
state
!=
PFM_CTX_LOADED
)
return
0
;
if
(
state
==
PFM_CTX_ZOMBIE
)
return
-
EINVAL
;
if
(
state
==
PFM_CTX_ZOMBIE
)
return
-
EINVAL
;
...
@@ -5787,7 +5787,7 @@ pfm_save_regs(struct task_struct *task)
...
@@ -5787,7 +5787,7 @@ pfm_save_regs(struct task_struct *task)
*/
*/
psr
=
pfm_get_psr
();
psr
=
pfm_get_psr
();
BUG_ON
(
foo
&
(
IA64_PSR_I
));
BUG_ON
(
psr
&
(
IA64_PSR_I
));
/*
/*
* stop monitoring:
* stop monitoring:
...
...
arch/ia64/kernel/perfmon_mckinley.h
View file @
1910e4dc
...
@@ -167,7 +167,7 @@ pfm_mck_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnu
...
@@ -167,7 +167,7 @@ pfm_mck_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnu
val14
=
ctx
->
ctx_pmcs
[
14
];
val14
=
ctx
->
ctx_pmcs
[
14
];
check_case1
=
1
;
check_case1
=
1
;
break
;
break
;
case
14
:
val8
=
ctx
->
ctx_pmcs
[
13
];
case
14
:
val8
=
ctx
->
ctx_pmcs
[
8
];
val13
=
ctx
->
ctx_pmcs
[
13
];
val13
=
ctx
->
ctx_pmcs
[
13
];
val14
=
*
val
;
val14
=
*
val
;
check_case1
=
1
;
check_case1
=
1
;
...
...
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