lkml.org 
[lkml]   [2012]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectBITS_PER_LONG used in include/asm-generic/statfs.h
From
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.


\
 
 \ /
  Last update: 2012-04-25 23:27    [from the cache]
©2003-2011 Jasper Spaans