xref: /OK3568_Linux_fs/kernel/arch/sh/include/asm/shmparam.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun  *
3*4882a593Smuzhiyun  * include/asm-sh/shmparam.h
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * Copyright (C) 1999 Niibe Yutaka
6*4882a593Smuzhiyun  * Copyright (C) 2006 Paul Mundt
7*4882a593Smuzhiyun  */
8*4882a593Smuzhiyun #ifndef __ASM_SH_SHMPARAM_H
9*4882a593Smuzhiyun #define __ASM_SH_SHMPARAM_H
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun /*
12*4882a593Smuzhiyun  * SH-4 and SH-3 7705 have an aliasing dcache. Bump this up to a sensible value
13*4882a593Smuzhiyun  * for everyone, and work out the specifics from the probed cache descriptor.
14*4882a593Smuzhiyun  */
15*4882a593Smuzhiyun #define	SHMLBA	0x4000		 /* attach addr a multiple of this */
16*4882a593Smuzhiyun 
17*4882a593Smuzhiyun #define __ARCH_FORCE_SHMLBA
18*4882a593Smuzhiyun 
19*4882a593Smuzhiyun #endif /* __ASM_SH_SHMPARAM_H */
20