mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:44:45 +01:00
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
This commit is contained in:
parent
2473bc35ba
commit
1fef073b71
1 changed files with 10 additions and 0 deletions
10
tools/include/linux/cache.h
Normal file
10
tools/include/linux/cache.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
#ifndef _TOOLS_LINUX_CACHE_H
|
||||
#define _TOOLS_LINUX_CACHE_H
|
||||
|
||||
#define L1_CACHE_SHIFT 5
|
||||
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
|
||||
|
||||
#define SMP_CACHE_BYTES L1_CACHE_BYTES
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue