How to interpret relational operators in a macro?
by jani1 from LinuxQuestions.org on (#4WTHV)
Please provide an example that uses following macros.
What part is macro, and what part is replacement token?
filename: linux/arch/include/asm/cache.h
Code:/* Largest line length for either L1 or L2 is 128 bytes */
50 #define SMP_CACHE_BYTES>> 128
51 #define cache_line_size()>SMP_CACHE_BYTES
52 #define ARCH_DMA_MINALIGN>SMP_CACHE_BYTES


What part is macro, and what part is replacement token?
filename: linux/arch/include/asm/cache.h
Code:/* Largest line length for either L1 or L2 is 128 bytes */
50 #define SMP_CACHE_BYTES>> 128
51 #define cache_line_size()>SMP_CACHE_BYTES
52 #define ARCH_DMA_MINALIGN>SMP_CACHE_BYTES