mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
Motivation for this is to be able to print the way information properly in print_cpuinfo(), instead of hardcoding it to one. Signed-off-by: Stefan Kristiansson <[email protected]> Signed-off-by: Jonas Bonn <[email protected]> [[email protected] fixed conflict with show_cpuinfo change] Signed-off-by: Stafford Horne <[email protected]>
37 lines
899 B
C
37 lines
899 B
C
/*
|
|
* OpenRISC Linux
|
|
*
|
|
* Linux architectural port borrowing liberally from similar works of
|
|
* others. All original copyrights apply as per the original source
|
|
* declaration.
|
|
*
|
|
* OpenRISC implementation:
|
|
* Copyright (C) 2003 Matjaz Breskvar <[email protected]>
|
|
* Copyright (C) 2010-2011 Jonas Bonn <[email protected]>
|
|
* et al.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef __ASM_OPENRISC_CPUINFO_H
|
|
#define __ASM_OPENRISC_CPUINFO_H
|
|
|
|
struct cpuinfo {
|
|
u32 clock_frequency;
|
|
|
|
u32 icache_size;
|
|
u32 icache_block_size;
|
|
u32 icache_ways;
|
|
|
|
u32 dcache_size;
|
|
u32 dcache_block_size;
|
|
u32 dcache_ways;
|
|
};
|
|
|
|
extern struct cpuinfo cpuinfo;
|
|
|
|
#endif /* __ASM_OPENRISC_CPUINFO_H */
|