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
38ab2cd5
Commit
38ab2cd5
authored
May 27, 2003
by
Miles Bader
Committed by
Arnaldo Carvalho de Melo
May 27, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] const-qualify memory arg in v850's __test_bit
This silences at least one compile-time warning... :-)
parent
abd6b373
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
include/asm-v850/bitops.h
include/asm-v850/bitops.h
+3
-3
No files found.
include/asm-v850/bitops.h
View file @
38ab2cd5
/*
* include/asm-v850/bitops.h -- Bit operations
*
* Copyright (C) 2001,02
NEC
Corporation
* Copyright (C) 2001,02 Miles Bader <miles@gnu.org>
* Copyright (C) 2001,02
,03 NEC Electronics
Corporation
* Copyright (C) 2001,02
,03
Miles Bader <miles@gnu.org>
* Copyright (C) 1992 Linus Torvalds.
*
* This file is subject to the terms and conditions of the GNU General
...
...
@@ -133,7 +133,7 @@ extern __inline__ unsigned long ffz (unsigned long word)
"m" (*((const char *)(addr) + ((nr) >> 3)))); \
__test_bit_res; \
})
extern
__inline__
int
__test_bit
(
int
nr
,
void
*
addr
)
extern
__inline__
int
__test_bit
(
int
nr
,
const
void
*
addr
)
{
int
res
;
__asm__
(
"tst1 %1, [%2]; setf nz, %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