Paul Mundt | c470662 | 2006-09-27 15:29:18 +0900 | [diff] [blame] | 1 | /* |
| 2 | * include/asm-sh/shmparam.h |
| 3 | * |
| 4 | * Copyright (C) 1999 Niibe Yutaka |
| 5 | * Copyright (C) 2006 Paul Mundt |
| 6 | * |
| 7 | * This file is subject to the terms and conditions of the GNU General Public |
| 8 | * License. See the file "COPYING" in the main directory of this archive |
| 9 | * for more details. |
| 10 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | #ifndef __ASM_SH_SHMPARAM_H |
| 12 | #define __ASM_SH_SHMPARAM_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
Paul Mundt | c470662 | 2006-09-27 15:29:18 +0900 | [diff] [blame] | 14 | /* |
| 15 | * SH-4 and SH-3 7705 have an aliasing dcache. Bump this up to a sensible value |
| 16 | * for everyone, and work out the specifics from the probed cache descriptor. |
| 17 | */ |
| 18 | #define SHMLBA 0x4000 /* attach addr a multiple of this */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | |
Paul Mundt | c470662 | 2006-09-27 15:29:18 +0900 | [diff] [blame] | 20 | #define __ARCH_FORCE_SHMLBA |
| 21 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | #endif /* __ASM_SH_SHMPARAM_H */ |