Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
6f2c3fa0
Commit
6f2c3fa0
authored
Nov 30, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Fix alignment hole in struct cache_desc; shrink struct.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
714cfe78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
include/asm-mips/cpu-info.h
include/asm-mips/cpu-info.h
+5
-5
No files found.
include/asm-mips/cpu-info.h
View file @
6f2c3fa0
...
...
@@ -22,12 +22,12 @@
* Descriptor for a cache
*/
struct
cache_desc
{
unsigned
short
linesz
;
/* Size of line in bytes */
unsigned
short
ways
;
/* Number of ways */
unsigned
short
sets
;
/* Number of lines per set */
unsigned
int
waysize
;
/* Bytes per way */
unsigned
int
waybit
;
/* Bits to select in a cache set */
unsigned
int
flags
;
/* Flags describing cache properties */
unsigned
short
sets
;
/* Number of lines per set */
unsigned
char
ways
;
/* Number of ways */
unsigned
char
linesz
;
/* Size of line in bytes */
unsigned
char
waybit
;
/* Bits to select in a cache set */
unsigned
char
flags
;
/* Flags describing cache properties */
};
/*
...
...
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