mirror of https://gitee.com/openkylin/linux.git
22 lines
599 B
C
22 lines
599 B
C
|
/*
|
||
|
* Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
|
||
|
*
|
||
|
* This program is free software; you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU General Public License version 2 as
|
||
|
* published by the Free Software Foundation.
|
||
|
*/
|
||
|
|
||
|
#ifndef __ARC_ASM_CACHE_H
|
||
|
#define __ARC_ASM_CACHE_H
|
||
|
|
||
|
/* In case $$ not config, setup a dummy number for rest of kernel */
|
||
|
#ifndef CONFIG_ARC_CACHE_LINE_SHIFT
|
||
|
#define L1_CACHE_SHIFT 6
|
||
|
#else
|
||
|
#define L1_CACHE_SHIFT CONFIG_ARC_CACHE_LINE_SHIFT
|
||
|
#endif
|
||
|
|
||
|
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
|
||
|
|
||
|
#endif /* _ASM_CACHE_H */
|