Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
76168c21
Commit
76168c21
authored
Nov 10, 2007
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: More
SH-5
cpuinfo tidying.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
01fed931
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
5 deletions
+12
-5
include/asm-sh/cpu-sh5/cache.h
include/asm-sh/cpu-sh5/cache.h
+4
-0
include/asm-sh/processor.h
include/asm-sh/processor.h
+2
-0
include/asm-sh/processor_32.h
include/asm-sh/processor_32.h
+0
-1
include/asm-sh/processor_64.h
include/asm-sh/processor_64.h
+6
-4
No files found.
include/asm-sh/cpu-sh5/cache.h
View file @
76168c21
...
...
@@ -19,6 +19,10 @@
#define SH_CACHE_VALID (1LL<<0)
#define SH_CACHE_UPDATED (1LL<<57)
/* Unimplemented compat bits.. */
#define SH_CACHE_COMBINED 0
#define SH_CACHE_ASSOC 0
/* Cache flags */
#define SH_CACHE_MODE_WT (1LL<<0)
#define SH_CACHE_MODE_WB (1LL<<1)
...
...
include/asm-sh/processor.h
View file @
76168c21
#ifndef __ASM_SH_PROCESSOR_H
#define __ASM_SH_PROCESSOR_H
#include <asm/cpu-features.h>
/*
* CPU type and hardware bug flags. Kept separately for each CPU.
*
...
...
include/asm-sh/processor_32.h
View file @
76168c21
...
...
@@ -14,7 +14,6 @@
#include <asm/types.h>
#include <asm/cache.h>
#include <asm/ptrace.h>
#include <asm/cpu-features.h>
/*
* Default implementation of macro that returns current
...
...
include/asm-sh/processor_64.h
View file @
76168c21
...
...
@@ -66,12 +66,14 @@ struct sh_cpuinfo {
/* TLB info */
struct
tlb_info
itlb
;
struct
tlb_info
dtlb
;
};
extern
struct
sh_cpuinfo
boot_cpu_data
;
unsigned
long
flags
;
};
#define cpu_data (&boot_cpu_data)
#define current_cpu_data boot_cpu_data
extern
struct
sh_cpuinfo
cpu_data
[];
#define boot_cpu_data cpu_data[0]
#define current_cpu_data cpu_data[smp_processor_id()]
#define raw_current_cpu_data cpu_data[raw_smp_processor_id()]
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment