linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BITS_PER_LONG used in include/asm-generic/statfs.h
@ 2012-04-25 21:24 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2012-04-25 21:24 UTC (permalink / raw)
  To: H. Peter Anvin, LKML

Hi,

include/asm-generic/statfs.h has

#ifndef __statfs_word
#if BITS_PER_LONG == 64
#define __statfs_word long
#else
#define __statfs_word __u32
#endif
#endif

however, BITS_PER_LONG isn't defined when asm-generic/statfs.h is exported to
user space.  Shouldn't it check __BITS_PER_LONG instead, at least when
exported to user space?

-- 
H.J.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-25 21:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-25 21:24 BITS_PER_LONG used in include/asm-generic/statfs.h H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).