diff options
author | Michael Holzheu <holzheu@linux.vnet.ibm.com> | 2012-07-20 11:15:01 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-07-20 11:15:01 +0200 |
commit | 2b7547578b9fdf811072cfc0c3594eb370e7d219 (patch) | |
tree | 5c14ba9e87c19db2d644a91aec127307afe7385b /drivers/s390/char/sclp_quiesce.c | |
parent | s390/cpu init: use __get_cpu_var instead of per_cpu (diff) | |
download | linux-2b7547578b9fdf811072cfc0c3594eb370e7d219.tar.xz linux-2b7547578b9fdf811072cfc0c3594eb370e7d219.zip |
s390/lgr: Add init check to lgr_info_log()
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>
Diffstat (limited to 'drivers/s390/char/sclp_quiesce.c')
0 files changed, 0 insertions, 0 deletions