h8300: IRQ flags should be stored in an unsigned long
authorDavid Howells <dhowells@redhat.com>
Tue, 31 Aug 2010 15:52:11 +0000 (16:52 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Sep 2010 20:52:28 +0000 (13:52 -0700)
commit3ab61eb9fd751336d1b3ad50ec7704bd3b62213f
tree6f1adf03516c10df7b7d46a240a3446e24be7d12
parent7a2e8a8faab76386d8eaae9ded739ee5615be174
h8300: IRQ flags should be stored in an unsigned long

Fix h8300's asm/atomic.h to store the IRQ flags in an unsigned long to deal
with warnings of the following type:

  arch/h8300/include/asm/atomic.h: In function 'atomic_add_return':
  arch/h8300/include/asm/atomic.h:22: warning: comparison of distinct pointer types lacks a cast
  arch/h8300/include/asm/atomic.h:24: warning: comparison of distinct pointer types lacks a cast

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/h8300/include/asm/atomic.h