aboutsummaryrefslogtreecommitdiffstats
path: root/libc/kernel/arch-x86/asm/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/kernel/arch-x86/asm/cache.h')
-rw-r--r--libc/kernel/arch-x86/asm/cache.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/libc/kernel/arch-x86/asm/cache.h b/libc/kernel/arch-x86/asm/cache.h
index 9c607e978..2766a71ad 100644
--- a/libc/kernel/arch-x86/asm/cache.h
+++ b/libc/kernel/arch-x86/asm/cache.h
@@ -7,19 +7,14 @@
*** structures, and macros generated from the original header, and thus,
*** contains no copyrightable information.
***
- *** To edit the content of this header, modify the corresponding
- *** source file (e.g. under external/kernel-headers/original/) then
- *** run bionic/libc/kernel/tools/update_all.py
- ***
- *** Any manual change here will be lost the next time this script will
- *** be run. You've been warned!
- ***
****************************************************************************
****************************************************************************/
#ifndef _ARCH_X86_CACHE_H
#define _ARCH_X86_CACHE_H
+
#define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT)
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
-/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
+
#define __read_mostly __attribute__((__section__(".data.read_mostly")))
+
#endif