commit | d96221ab1e7d86dc0d4666466979117cd1915386 | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Fri Feb 26 22:37:42 2010 +0100 |
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | Fri Feb 26 22:37:31 2010 +0100 |
tree | ff3283841e7419226878a70f440d09d388bfe0c9 | |
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>