]> git.karo-electronics.de Git - karo-tx-linux.git/commit
asm-generic: Use __BITS_PER_LONG in statfs.h
authorH. Peter Anvin <hpa@linux.intel.com>
Thu, 26 Apr 2012 18:45:16 +0000 (11:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 May 2012 16:32:05 +0000 (09:32 -0700)
commit5a3f30217f703a1e2124766bc2c5e4e4c8b57813
tree197a19dd5cb50b2caf51a1eb6c536a13d8c28c8b
parent4f9b82ae13a482026a83eafa307ca037131a54b3
asm-generic: Use __BITS_PER_LONG in statfs.h

commit f5c2347ee20a8d6964d6a6b1ad04f200f8d4dfa7 upstream.

<asm-generic/statfs.h> is exported to userspace, so using
BITS_PER_LONG is invalid.  We need to use __BITS_PER_LONG instead.

This is kernel bugzilla 43165.

Reported-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/r/1335465916-16965-1-git-send-email-hpa@linux.intel.com
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/asm-generic/statfs.h