mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00

This patch contains cache and TLB maintenance functions. Signed-off-by: Vincent Chen <vincentc@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
14 lines
312 B
C
14 lines
312 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
// Copyright (C) 2005-2017 Andes Technology Corporation
|
|
|
|
struct cache_info {
|
|
unsigned char ways;
|
|
unsigned char line_size;
|
|
unsigned short sets;
|
|
unsigned short size;
|
|
#if defined(CONFIG_CPU_CACHE_ALIASING)
|
|
unsigned short aliasing_num;
|
|
unsigned int aliasing_mask;
|
|
#endif
|
|
};
|