diff options
author | Dmitry Kovalenko <d.kovalenko@samsung.com> | 2013-06-04 11:13:01 +0400 |
---|---|---|
committer | Dmitry Kovalenko <d.kovalenko@samsung.com> | 2013-06-04 11:13:01 +0400 |
commit | 7ec626feb870b8a1cc6cd97c4c700b74ace6a810 (patch) | |
tree | 8b3ecdb7596a79dd6537438bd62986b834289701 /driver | |
parent | 6865c4872a684d3b7b8e9ad3f28857f0b99814c6 (diff) | |
download | swap-modules-7ec626feb870b8a1cc6cd97c4c700b74ace6a810.tar.gz swap-modules-7ec626feb870b8a1cc6cd97c4c700b74ace6a810.tar.bz2 swap-modules-7ec626feb870b8a1cc6cd97c4c700b74ace6a810.zip |
[FIX] Fix b6f7698 not correct kthread determination
Diffstat (limited to 'driver')
-rw-r--r-- | driver/us_proc_inst.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/driver/us_proc_inst.c b/driver/us_proc_inst.c index 0fa45a40..5ff8b9bb 100644 --- a/driver/us_proc_inst.c +++ b/driver/us_proc_inst.c @@ -558,7 +558,7 @@ int inst_usr_space_proc (void) for_each_process (task) { struct sspt_proc *proc; - if (task->flags & is_kthread(task)){ + if (is_kthread(task)){ DPRINTF("ignored kernel thread %d\n", task->pid); continue; @@ -628,7 +628,7 @@ void do_page_fault_j_pre_code(unsigned long addr, unsigned int fsr, struct pt_re { struct task_struct *task = current->group_leader; - if (task->flags & is_kthread(task)) { + if (is_kthread(task)) { DPRINTF("ignored kernel thread %d\n", task->pid); return; } @@ -909,7 +909,7 @@ void do_page_fault_ret_pre_code (void) struct timeval imi_tv2; #define USEC_IN_SEC_NUM 1000000 - if (task->flags & is_kthread(task)) { + if (is_kthread(task)) { DPRINTF("ignored kernel thread %d\n", task->pid); return; } |