blob: 2766a71ad8fe8ec016b91395969f1ca62ca8e712 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef _ARCH_X86_CACHE_H
13#define _ARCH_X86_CACHE_H
14
15#define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT)
16#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
17
18#define __read_mostly __attribute__((__section__(".data.read_mostly")))
19
20#endif