[BACK]Return to shmparam.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / asm-xtensa

File: [Development] / linux-2.6-xfs / include / asm-xtensa / shmparam.h (download)

Revision 1.2, Wed Jul 4 15:54:07 2007 UTC (10 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -2 lines

Merge up to 2.6.22-rc7
Merge of 2.6.x-xfs-melb:linux:29062a by kenmcd.

/*
 * include/asm-xtensa/shmparam.h
 *
 * This file is subject to the terms and conditions of the GNU General
 * Public License.  See the file "COPYING" in the main directory of
 * this archive for more details.
 */

#ifndef _XTENSA_SHMPARAM_H
#define _XTENSA_SHMPARAM_H

/*
 * Xtensa can have variable size caches, and if
 * the size of single way is larger than the page size,
 * then we have to start worrying about cache aliasing
 * problems.
 */

#define SHMLBA	((PAGE_SIZE > DCACHE_WAY_SIZE)? PAGE_SIZE : DCACHE_WAY_SIZE)

#endif /* _XTENSA_SHMPARAM_H */