Heiko Carstens a1b200e27c mm: provide init_mm mm_context initializer
Provide an INIT_MM_CONTEXT intializer macro which can be used to
statically initialize mm_struct:mm_context of init_mm.  This way we can
get rid of code which will do the initialization at run time (on s390).

In addition the current code can be found at a place where it is not
expected.  So let's have a common initializer which architectures
can use if needed.

This is based on a patch from Suzuki Poulose.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Suzuki Poulose <suzuki@in.ibm.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-09 20:44:54 -07:00
..
2008-12-25 13:38:55 +01:00
2010-02-09 11:13:56 +01:00
2009-09-11 10:29:56 +02:00
2010-02-26 22:37:29 +01:00
2009-03-26 15:24:05 +01:00
2009-12-16 07:20:12 -08:00
2008-12-25 13:39:06 +01:00
2008-12-25 13:38:57 +01:00
2010-06-09 11:12:36 +02:00
2009-09-22 07:17:42 -07:00
2010-02-26 22:37:30 +01:00
2009-06-12 10:27:31 +02:00
2010-05-17 10:00:17 +02:00
2010-03-12 15:52:32 -08:00
2009-03-26 15:24:05 +01:00