]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[S390] sclp: simplify vt220 cleanup logic
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>
Mon, 14 Jul 2008 07:59:07 +0000 (09:59 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 14 Jul 2008 08:02:13 +0000 (10:02 +0200)
commitad211790c040fae3459e9c4c8cbd681ae126d2b8
tree2f9cb8e384ce571d9a34eee45886177025ba0807
parent773922e1dab93a62e60cfb34afadb0f66d5f12e9
[S390] sclp: simplify vt220 cleanup logic

Fix a number of sclp_vt220 cleanup problems:
* fix list_empty check after list_del()
* mark init-only flag as __initdata
* remove implicit dependency between slab_available() and num_pages
* straighten multiple init handling (use init count)

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
drivers/s390/char/sclp_vt220.c