s390/lgr: Add init check to lgr_info_log()
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Fri, 20 Jul 2012 09:15:01 +0000 (11:15 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 20 Jul 2012 09:15:01 +0000 (11:15 +0200)
If lgr has not been initialized, the lgr_info_log() function currently
crashes because 'lgr_page' is not allocated. To fix this 'lgr_page'
is allocated statically now.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

No differences found