diff options
author | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-11-21 20:41:00 +0000 |
---|---|---|
committer | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-11-21 20:41:00 +0000 |
commit | c81cf54c19d633c7840e626b1c0ef91e60935795 (patch) | |
tree | 3edb2f13409863f3e16fffa3600534a1fbf5faea /xen/include/xen/cache.h | |
parent | 9b7223024d973757421cd6b037f47f64bc41e59d (diff) | |
download | xen-c81cf54c19d633c7840e626b1c0ef91e60935795.tar.gz xen-c81cf54c19d633c7840e626b1c0ef91e60935795.tar.bz2 xen-c81cf54c19d633c7840e626b1c0ef91e60935795.zip |
bitkeeper revision 1.1159.183.1 (41a0fd5c_SO-Z8P4u52CN53Q0eDzqg)
Clean up cacheline-alignment attribute usage. Also add an extra byte to the
TSS I/O bitmap as required by the arch manual.
Diffstat (limited to 'xen/include/xen/cache.h')
-rw-r--r-- | xen/include/xen/cache.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/xen/include/xen/cache.h b/xen/include/xen/cache.h index 320867f60d..f972dc30d4 100644 --- a/xen/include/xen/cache.h +++ b/xen/include/xen/cache.h @@ -12,26 +12,8 @@ #define SMP_CACHE_BYTES L1_CACHE_BYTES #endif -#ifndef ____cacheline_aligned -#define ____cacheline_aligned __attribute__((__aligned__(SMP_CACHE_BYTES))) -#endif - -#ifndef ____cacheline_aligned_in_smp -#ifdef CONFIG_SMP -#define ____cacheline_aligned_in_smp ____cacheline_aligned -#else -#define ____cacheline_aligned_in_smp -#endif /* CONFIG_SMP */ -#endif - #ifndef __cacheline_aligned -#ifdef MODULE -#define __cacheline_aligned ____cacheline_aligned -#else -#define __cacheline_aligned \ - __attribute__((__aligned__(SMP_CACHE_BYTES), \ - __section__(".data.cacheline_aligned"))) +#define __cacheline_aligned __attribute__((__aligned__(SMP_CACHE_BYTES))) #endif -#endif /* __cacheline_aligned */ #endif /* __LINUX_CACHE_H */ |