Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools/include: Add cache.h stub

Add a dummy version of the cache header.

Signed-off-by: Karolina Drobnik <karolinadrobnik@gmail.com>
Signed-off-by: Mike Rapoport <rppt@kernel.org>
Link: https://lore.kernel.org/r/5e02865094aaf56dd30772722799e53f4130ebc8.1643796665.git.karolinadrobnik@gmail.com

authored by

Karolina Drobnik and committed by
Mike Rapoport
1fef073b 2473bc35

+10
+10
tools/include/linux/cache.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 + #ifndef _TOOLS_LINUX_CACHE_H 3 + #define _TOOLS_LINUX_CACHE_H 4 + 5 + #define L1_CACHE_SHIFT 5 6 + #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) 7 + 8 + #define SMP_CACHE_BYTES L1_CACHE_BYTES 9 + 10 + #endif