2 * linux/arch/m68k/coldfire/cache.c
4 * Matt Waddel Matt.Waddel@freescale.com
5 * Kurt Mahan kmahan@freescale.com
6 * Copyright Freescale Semiconductor, Inc. 2007
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
14 #include <linux/interrupt.h>
15 #include <asm/cache.h>
16 #include <asm/coldfire.h>
17 #include <asm/system.h>
19 /* Cache Control Reg shadow reg */
20 unsigned long shadow_cacr;
23 * cacr_set - Set the Cache Control Register
26 void cacr_set(unsigned long x)
30 __asm__ __volatile__ ("movec %0, %%cacr"
36 * cacr_get - Get the current value of the Cache Control Register
40 unsigned long cacr_get(void)