• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/include/asm/
1#ifndef __UM_CACHE_H
2#define __UM_CACHE_H
3
4
5#if defined(CONFIG_UML_X86) && !defined(CONFIG_64BIT)
6# define L1_CACHE_SHIFT		(CONFIG_X86_L1_CACHE_SHIFT)
7#elif defined(CONFIG_UML_X86)   /* 64-bit */
8# define L1_CACHE_SHIFT		6 /* Should be 7 on Intel */
9#else
10# define L1_CACHE_SHIFT		5
11#endif
12
13#define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)
14
15#endif
16