Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81756
b: refs/heads/master
c: 1587e2b
h: refs/heads/master
v: v3
  • Loading branch information
Matthew Wilcox authored and Matthew Wilcox committed Dec 6, 2007
1 parent 6b9d516 commit f15b901
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: 21498223daad359d048b35b0ee4d1b93300ef258
refs/heads/master: 1587e2b1880632d959db6ac9e79cb1d99a73c656
7 changes: 1 addition & 6 deletions trunk/fs/proc/array.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,7 @@ static const char *task_state_array[] = {

static inline const char *get_task_state(struct task_struct *tsk)
{
unsigned int state = (tsk->state & (TASK_RUNNING |
TASK_INTERRUPTIBLE |
TASK_UNINTERRUPTIBLE |
TASK_STOPPED |
TASK_TRACED)) |
tsk->exit_state;
unsigned int state = (tsk->state & TASK_REPORT) | tsk->exit_state;
const char **p = &task_state_array[0];

while (state) {
Expand Down

0 comments on commit f15b901

Please sign in to comment.