mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 02:26:56 +07:00
2ba364504f
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
21 lines
478 B
C
21 lines
478 B
C
/*
|
|
* 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 _ASM_CACHECTL
|
|
#define _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 /* _ASM_CACHECTL */
|