[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>
Showing
- drivers/char/tty_io.c 1 addition, 1 deletiondrivers/char/tty_io.c
- fs/proc/array.c 1 addition, 1 deletionfs/proc/array.c
- include/linux/init_task.h 6 additions, 5 deletionsinclude/linux/init_task.h
- include/linux/sched.h 17 additions, 2 deletionsinclude/linux/sched.h
- kernel/exit.c 1 addition, 1 deletionkernel/exit.c
- kernel/fork.c 1 addition, 1 deletionkernel/fork.c
Loading
Please register or sign in to comment