Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309750
b: refs/heads/master
c: af1be5a
h: refs/heads/master
v: v3
  • Loading branch information
Anton Vorontsov authored and Linus Torvalds committed Jun 1, 2012
1 parent ba9a3f1 commit 9a14e18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2214f707de257c35773d5cd68cec9e31b91e01ca
refs/heads/master: af1be5a578a1ccc9961c55290f8c509a00a69036
6 changes: 3 additions & 3 deletions trunk/arch/blackfin/kernel/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void decode_address(char *buf, unsigned long address)
{
struct task_struct *p;
struct mm_struct *mm;
unsigned long flags, offset;
unsigned long offset;
struct rb_node *n;

#ifdef CONFIG_KALLSYMS
Expand Down Expand Up @@ -113,7 +113,7 @@ void decode_address(char *buf, unsigned long address)
* mappings of all our processes and see if we can't be a whee
* bit more specific
*/
write_lock_irqsave(&tasklist_lock, flags);
read_lock(&tasklist_lock);
for_each_process(p) {
struct task_struct *t;

Expand Down Expand Up @@ -186,7 +186,7 @@ void decode_address(char *buf, unsigned long address)
sprintf(buf, "/* kernel dynamic memory */");

done:
write_unlock_irqrestore(&tasklist_lock, flags);
read_unlock(&tasklist_lock);
}

#define EXPAND_LEN ((1 << CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN) * 256 - 1)
Expand Down

0 comments on commit 9a14e18

Please sign in to comment.