Displaying 1 result from an estimated 1 matches for "smp_cache_shift".
2005 Nov 22
2
RE: __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths"
...ks!
>Rusty.
>--
>A bad analogy is like a leaky screwdriver -- Richard Braakman
>
I didn''t note that ifdef before, and removing it doesn''t break dom0. I doubt the reason from following definition which is copied from Linux directly into Xen:
#ifdef CONFIG_SMP
# define SMP_CACHE_SHIFT L1_CACHE_SHIFT
# define SMP_CACHE_BYTES L1_CACHE_BYTES
#else
/*
* The "aligned" directive can only _increase_ alignment, so this is
* safe and provides an easy way to avoid wasting space on a
* uni-processor:
*/
# define SMP_CACHE_SHIFT 3
# define SMP_CACHE_BYTES (1 <<...