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
2278caa3
Commit
2278caa3
authored
Oct 30, 2007
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Use generic SMP_CACHE_BYTES/L1_CACHE_ALIGN.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
3f9654f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
include/asm-sh/cache.h
include/asm-sh/cache.h
+0
-3
include/asm-sh/processor.h
include/asm-sh/processor.h
+1
-1
No files found.
include/asm-sh/cache.h
View file @
2278caa3
...
...
@@ -18,9 +18,6 @@
#define SH_CACHE_ASSOC 8
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
#define SMP_CACHE_BYTES L1_CACHE_BYTES
#define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
#ifndef __ASSEMBLY__
struct
cache_info
{
...
...
include/asm-sh/processor.h
View file @
2278caa3
...
...
@@ -71,7 +71,7 @@ struct sh_cpuinfo {
struct
cache_info
scache
;
/* Secondary cache */
unsigned
long
flags
;
}
__attribute__
((
aligned
(
SMP
_CACHE_BYTES
)));
}
__attribute__
((
aligned
(
L1
_CACHE_BYTES
)));
extern
struct
sh_cpuinfo
cpu_data
[];
#define boot_cpu_data cpu_data[0]
...
...
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