mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +00:00
For simplicity in backporting, the original entry_flush test contained a lot of duplicated code from the rfi_flush test. De-duplicate that code. Signed-off-by: Daniel Axtens <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
18 lines
387 B
C
18 lines
387 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
/*
|
|
* Copyright 2018 IBM Corporation.
|
|
*/
|
|
|
|
#ifndef _SELFTESTS_POWERPC_SECURITY_FLUSH_UTILS_H
|
|
#define _SELFTESTS_POWERPC_SECURITY_FLUSH_UTILS_H
|
|
|
|
#define CACHELINE_SIZE 128
|
|
|
|
void syscall_loop(char *p, unsigned long iterations,
|
|
unsigned long zero_size);
|
|
|
|
void set_dscr(unsigned long val);
|
|
|
|
#endif /* _SELFTESTS_POWERPC_SECURITY_FLUSH_UTILS_H */
|