Fix gcc 2.95.x compilation for fs/proc/base.c
Signed-off-by: Marco Roeland <[email protected]>
---
base.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
3fd07d3bf0077dcc0f5a33d2eb1938ea050da8da
diff --git a/fs/proc/base.c b/fs/proc/base.c
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -356,8 +356,9 @@ static int proc_task_root_link(struct in
task_unlock(leader);
} else {
/* Try to get fs from other threads */
+ struct task_struct *task;
task_unlock(leader);
- struct task_struct *task = leader;
+ task = leader;
read_lock(&tasklist_lock);
if (pid_alive(task)) {
while ((task = next_thread(task)) != leader) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|