diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-02-26 22:37:42 +0100 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-02-26 22:37:31 +0100 |
commit | d96221ab1e7d86dc0d4666466979117cd1915386 (patch) | |
tree | ff3283841e7419226878a70f440d09d388bfe0c9 /drivers/s390/cio/device_fsm.c | |
parent | b8e660b83d505148c83ddc6d5ba69c29d0eab1e3 (diff) |
[S390] free_initmem: reduce code duplication
free_initmem() and free_initrd_mem() are nearly identical. So make them
call a common function.
Also fixes a bug: if the initrd wouldn't start on a page boundary also
memory after the initrd would be initialized with the poison value.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/device_fsm.c')
0 files changed, 0 insertions, 0 deletions