time, s390: Get rid of compile warning
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 22 Sep 2011 07:19:17 +0000 (09:19 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 12 Oct 2011 08:24:10 +0000 (10:24 +0200)
commite35f95b36e43f67a6f806172555a152c11ea0a78
treea395fad1eaaba40ca87db6f0a37792f18d8fb82b
parenta1330228f9eec7e355d41f45c17e1297d681f40d
time, s390: Get rid of compile warning

"s390: Use direct ktime path for s390 clockevent device" in linux-next
introduces this compile warning:

arch/s390/kernel/time.c: In function 's390_next_ktime':
arch/s390/kernel/time.c:118:2: warning:
  comparison of distinct pointer types lacks a cast [enabled by default]

Just use a u64 instead of an s64 variable. This is not a problem since it
will always contain a positive value.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Link: http://lkml.kernel.org/r/1316675957-5538-1-git-send-email-heiko.carstens@de.ibm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/s390/kernel/time.c