Loading...
Searching...
No Matches
Go to the documentation of this file.
15#include <linux/kernel.h>
23#ifndef SMP_CACHE_SHIFT
24#define SMP_CACHE_SHIFT L1_CACHE_SHIFT
27#ifndef SMP_CACHE_BYTES
28#define SMP_CACHE_BYTES L1_CACHE_BYTES
31#ifndef SMP_CACHE_ALIGN
32#define SMP_CACHE_ALIGN(x) (((x) + (SMP_CACHE_BYTES - 1)) & ~(SMP_CACHE_BYTES - 1))
35#ifndef ____cacheline_aligned
36#define ____cacheline_aligned __attribute__((__aligned__(SMP_CACHE_BYTES)))
61#ifndef __cacheline_group_begin
62#define __cacheline_group_begin(GROUP) __u8 __cacheline_group_begin__##GROUP[0]
65#ifndef __cacheline_group_end
66#define __cacheline_group_end(GROUP) __u8 __cacheline_group_end__##GROUP[0]