~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to arch/microblaze/include/asm/cache.h

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Cache operations
 
3
 *
 
4
 * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu>
 
5
 * Copyright (C) 2007-2009 PetaLogix
 
6
 * Copyright (C) 2003 John Williams <jwilliams@itee.uq.edu.au>
 
7
 *
 
8
 * This file is subject to the terms and conditions of the GNU General
 
9
 * Public License. See the file COPYING in the main directory of this
 
10
 * archive for more details.
 
11
 */
 
12
 
 
13
#ifndef _ASM_MICROBLAZE_CACHE_H
 
14
#define _ASM_MICROBLAZE_CACHE_H
 
15
 
 
16
#include <asm/registers.h>
 
17
 
 
18
#define L1_CACHE_SHIFT 5
 
19
/* word-granular cache in microblaze */
 
20
#define L1_CACHE_BYTES  (1 << L1_CACHE_SHIFT)
 
21
 
 
22
#define SMP_CACHE_BYTES L1_CACHE_BYTES
 
23
 
 
24
#endif /* _ASM_MICROBLAZE_CACHE_H */