AA> Does something like this looks like better?
yes. But:
#define __l1_cache_aligned __attribute__((aligned (L1_CACHE_BYTES)))
...
}
#ifdef SMP
__l1_cache_aligned
#endif
mem_map_t;
Looks even better, and is even maintainable.
Note: I haven't tried actually tried to compile this fragment ...
Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/