[S390] sclp: avoid 64 bit division
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 24 Mar 2010 10:49:55 +0000 (11:49 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 24 Mar 2010 10:49:53 +0000 (11:49 +0100)
commit9c95258c0d5911ae263bf50d854e402ce973ab32
treea91567d8b0fea7ef722209183610f63ff93ee1d8
parentb8fde7224d771ce55bfd67cb57d7c4c8f430972f
[S390] sclp: avoid 64 bit division

Avoid 64 bit division to fix this compile error on 32 bit:
drivers/s390/char/sclp_cmd.c:711: undefined reference to `__udivdi3'

Also move the whole arch_get_memory_phys_device function to the
memory hotplug related functions.

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