]> err.no Git - linux-2.6/commit
[PATCH] add process_session() helper routine: deprecate old field
authorCedric Le Goater <clg@fr.ibm.com>
Fri, 8 Dec 2006 10:37:55 +0000 (02:37 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:51 +0000 (08:28 -0800)
commit1ec320afdc9552c92191d5f89fcd1ebe588334ca
treee526fb29f9487f1ea34aa9ccdf14c318aea2159f
parent937949d9edbf4049bd41af6c9f92c26280584564
[PATCH] add process_session() helper routine: deprecate old field

Add an anonymous union and ((deprecated)) to catch direct usage of the
session field.

[akpm@osdl.org: fix various missed conversions]
[jdike@addtoit.com: fix UML bug]
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tty_io.c
fs/proc/array.c
include/linux/init_task.h
include/linux/sched.h
kernel/exit.c
kernel/fork.c