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
e66bbef5
Commit
e66bbef5
authored
Apr 28, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Fix read_cpuid()
parent
4197692e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
include/asm-arm/system.h
include/asm-arm/system.h
+6
-6
No files found.
include/asm-arm/system.h
View file @
e66bbef5
...
@@ -47,12 +47,12 @@
...
@@ -47,12 +47,12 @@
#define CPUID_TCM 2
#define CPUID_TCM 2
#define CPUID_TLBTYPE 3
#define CPUID_TLBTYPE 3
#define read_cpuid(reg) \
#define read_cpuid(reg)
\
({ \
({
\
unsigned int __val; \
unsigned int __val;
\
asm("mrc
p15, 0, %0, c0, c0, " #reg
\
asm("mrc
%? p15, 0, %0, c0, c0, " __stringify(reg)
\
: "=r" (__val)); \
: "=r" (__val));
\
__val; \
__val;
\
})
})
/*
/*
...
...
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