/* cache.h: FRV cache definitions1*2* Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.3* Written by David Howells ([email protected])4*5* This program is free software; you can redistribute it and/or6* modify it under the terms of the GNU General Public License7* as published by the Free Software Foundation; either version8* 2 of the License, or (at your option) any later version.9*/1011#ifndef __ASM_CACHE_H12#define __ASM_CACHE_H131415/* bytes per L1 cache line */16#define L1_CACHE_SHIFT (CONFIG_FRV_L1_CACHE_SHIFT)17#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)1819#define __cacheline_aligned __attribute__((aligned(L1_CACHE_BYTES)))20#define ____cacheline_aligned __attribute__((aligned(L1_CACHE_BYTES)))2122#endif232425