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
2ade8147
Commit
2ade8147
authored
Sep 12, 2005
by
Andi Kleen
Committed by
Linus Torvalds
Sep 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] x86-64: clean up local_add/sub arguments
Signed-off-by:
Linus Torvalds
<
torvalds@osdl.org
>
parent
4b6a455c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/asm-x86_64/local.h
include/asm-x86_64/local.h
+2
-2
No files found.
include/asm-x86_64/local.h
View file @
2ade8147
...
...
@@ -29,7 +29,7 @@ static __inline__ void local_dec(local_t *v)
:
"m"
(
v
->
counter
));
}
static
__inline__
void
local_add
(
unsigned
long
i
,
local_t
*
v
)
static
__inline__
void
local_add
(
unsigned
int
i
,
local_t
*
v
)
{
__asm__
__volatile__
(
"addl %1,%0"
...
...
@@ -37,7 +37,7 @@ static __inline__ void local_add(unsigned long i, local_t *v)
:
"ir"
(
i
),
"m"
(
v
->
counter
));
}
static
__inline__
void
local_sub
(
unsigned
long
i
,
local_t
*
v
)
static
__inline__
void
local_sub
(
unsigned
int
i
,
local_t
*
v
)
{
__asm__
__volatile__
(
"subl %1,%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