I found this in
linux/include/linux/cpumask.h
:
#define CPU_BITS_ALL \
{ \
[0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
[BITS_TO_LONGS(NR_CPUS)-1] = CPU_MASK_LAST_WORD \
}
#endif /* NR_CPUS > BITS_PER_LONG */
What do the three dots (...
) mean? I am assuming the three dots transform the
line into something such as this:
[0] = ~0UL, \
[1] = ~0UL, \
[n] = ~0UL, \
...
[BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
But I am uncertain. I was unable to find an answer to my question through Google. The three dots may be part of a GCC extension to C.