]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] showmem: Only walk spanned pages.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 30 May 2008 08:03:29 +0000 (10:03 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 30 May 2008 08:03:34 +0000 (10:03 +0200)
commit49d23d6f332ccbaf73f0b491081e4bd1d8a50b53
tree3792e69ae8386707a483e64b377aeac51439f358
parentbe34d09330b602158e94d68825ba14bceab88599
[S390] showmem: Only walk spanned pages.

Convert show_mem() so its nearly the same as on x86/powerpc.
Gives us proper locking and we get also rid of the only use of max_mapnr.
Also the number of pages was contained in an int which might not be
sufficient not too far in the future.

Cc: Johannes Weiner <hannes@saeurebad.de>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/init.c