diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-02-27 00:37:42 +0300 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-02-27 00:37:31 +0300 |
commit | d96221ab1e7d86dc0d4666466979117cd1915386 (patch) | |
tree | ff3283841e7419226878a70f440d09d388bfe0c9 /drivers/s390/cio | |
parent | b8e660b83d505148c83ddc6d5ba69c29d0eab1e3 (diff) | |
download | linux-d96221ab1e7d86dc0d4666466979117cd1915386.tar.xz |
[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')
0 files changed, 0 insertions, 0 deletions