From: Martin Schwidefsky Date: Tue, 10 May 2011 15:13:43 +0000 (+0200) Subject: [S390] fix alloc_pgste check in init_new_context X-Git-Tag: v2.6.39~48^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=badb8bb983e9cf5b7a872e0a4f6ebeac2b1ce133;p=pandora-kernel.git [S390] fix alloc_pgste check in init_new_context Processes started with kernel_execve from a kernel thread will have current->mm==NULL. Reading current->mm->context.alloc_pgste will read a more or less random bit from lowcore in this case. If the bit turns out to be set the whole process tree started this way will allocate page table extensions although they have no need for it. Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed