]> err.no Git - linux-2.6/commit
[POWERPC] Assign PDE->data before gluing PDE into /proc tree
authorDenis V. Lunev <den@openvz.org>
Fri, 2 May 2008 20:34:05 +0000 (06:34 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 5 May 2008 06:47:14 +0000 (16:47 +1000)
commit9185ef6787f1c8f1c06aa0cb3c7746fb4f101f50
tree02c8dd5bd96606d752af795d4903ab76bef80da1
parentb41e5fffe8b81fc939067d8c1c195cc79115d5a3
[POWERPC] Assign PDE->data before gluing PDE into /proc tree

Simply replace proc_create and further data assigned with proc_create_data.
No need to check for data!=NULL after that.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Cc: Alexey Dobriyan <adobriyan@openvz.org>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/scanlog.c