Merge branch 'akpm' (patches from Andrew)
[linux-2.6-microblaze.git] / fs / proc / task_nommu.c
index 3b7e310..36bf0f2 100644 (file)
@@ -64,7 +64,7 @@ void task_mem(struct seq_file *m, struct mm_struct *mm)
        else
                bytes += kobjsize(current->files);
 
-       if (current->sighand && atomic_read(&current->sighand->count) > 1)
+       if (current->sighand && refcount_read(&current->sighand->count) > 1)
                sbytes += kobjsize(current->sighand);
        else
                bytes += kobjsize(current->sighand);