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
3ef120a4
Commit
3ef120a4
authored
Feb 02, 2014
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mn10300: kmap_atomic() returns void *, not unsigned long...
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
81c5a684
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/mn10300/include/asm/highmem.h
arch/mn10300/include/asm/highmem.h
+2
-2
No files found.
arch/mn10300/include/asm/highmem.h
View file @
3ef120a4
...
@@ -70,7 +70,7 @@ static inline void kunmap(struct page *page)
...
@@ -70,7 +70,7 @@ static inline void kunmap(struct page *page)
* be used in IRQ contexts, so in some (very limited) cases we need
* be used in IRQ contexts, so in some (very limited) cases we need
* it.
* it.
*/
*/
static
inline
unsigned
long
kmap_atomic
(
struct
page
*
page
)
static
inline
void
*
kmap_atomic
(
struct
page
*
page
)
{
{
unsigned
long
vaddr
;
unsigned
long
vaddr
;
int
idx
,
type
;
int
idx
,
type
;
...
@@ -89,7 +89,7 @@ static inline unsigned long kmap_atomic(struct page *page)
...
@@ -89,7 +89,7 @@ static inline unsigned long kmap_atomic(struct page *page)
set_pte
(
kmap_pte
-
idx
,
mk_pte
(
page
,
kmap_prot
));
set_pte
(
kmap_pte
-
idx
,
mk_pte
(
page
,
kmap_prot
));
local_flush_tlb_one
(
vaddr
);
local_flush_tlb_one
(
vaddr
);
return
vaddr
;
return
(
void
*
)
vaddr
;
}
}
static
inline
void
__kunmap_atomic
(
unsigned
long
vaddr
)
static
inline
void
__kunmap_atomic
(
unsigned
long
vaddr
)
...
...
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