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
c91b26b5
Commit
c91b26b5
authored
Aug 28, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid unused variable warning when kmap() ends up being a no-op.
parent
fb4b1e40
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/linux/highmem.h
include/linux/highmem.h
+1
-1
No files found.
include/linux/highmem.h
View file @
c91b26b5
...
@@ -22,7 +22,7 @@ static inline unsigned int nr_free_highpages(void) { return 0; }
...
@@ -22,7 +22,7 @@ static inline unsigned int nr_free_highpages(void) { return 0; }
static
inline
void
*
kmap
(
struct
page
*
page
)
{
return
page_address
(
page
);
}
static
inline
void
*
kmap
(
struct
page
*
page
)
{
return
page_address
(
page
);
}
#define kunmap(page) do { } while (0)
#define kunmap(page) do {
(void) (page);
} while (0)
#define kmap_atomic(page,idx) kmap(page)
#define kmap_atomic(page,idx) kmap(page)
#define kunmap_atomic(page,idx) kunmap(page)
#define kunmap_atomic(page,idx) kunmap(page)
...
...
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