Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
prefetch.h File Reference
#include <linux/types.h>
#include <asm/processor.h>
#include <asm/cache.h>

Go to the source code of this file.

Macros

#define prefetch(x)   __builtin_prefetch(x)
 
#define prefetchw(x)   __builtin_prefetch(x,1)
 
#define spin_lock_prefetch(x)   prefetchw(x)
 
#define PREFETCH_STRIDE   (4*L1_CACHE_BYTES)
 

Macro Definition Documentation

#define prefetch (   x )    __builtin_prefetch(x)

Definition at line 38 of file prefetch.h.

#define PREFETCH_STRIDE   (4*L1_CACHE_BYTES)

Definition at line 50 of file prefetch.h.

#define prefetchw (   x)    __builtin_prefetch(x,1)

Definition at line 42 of file prefetch.h.

#define spin_lock_prefetch (   x)    prefetchw(x)

Definition at line 46 of file prefetch.h.