From 57f0f512b273f60d52568b8c6b77e17f5636edc0 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 5 Aug 2015 17:04:01 -0300 Subject: Initial import --- arch/blackfin/include/uapi/asm/cachectl.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 arch/blackfin/include/uapi/asm/cachectl.h (limited to 'arch/blackfin/include/uapi/asm/cachectl.h') diff --git a/arch/blackfin/include/uapi/asm/cachectl.h b/arch/blackfin/include/uapi/asm/cachectl.h new file mode 100644 index 000000000..4fdab75de --- /dev/null +++ b/arch/blackfin/include/uapi/asm/cachectl.h @@ -0,0 +1,20 @@ +/* + * based on the mips/cachectl.h + * + * Copyright 2010 Analog Devices Inc. + * Copyright (C) 1994, 1995, 1996 by Ralf Baechle + * + * Licensed under the GPL-2 or later. + */ + +#ifndef _UAPI_ASM_CACHECTL +#define _UAPI_ASM_CACHECTL + +/* + * Options for cacheflush system call + */ +#define ICACHE (1<<0) /* flush instruction cache */ +#define DCACHE (1<<1) /* writeback and flush data cache */ +#define BCACHE (ICACHE|DCACHE) /* flush both caches */ + +#endif /* _UAPI_ASM_CACHECTL */ -- cgit v1.2.3-54-g00ecf