projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-4.7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...
[deliverable/linux.git]
/
include
/
linux
/
pfn_t.h
diff --git
a/include/linux/pfn_t.h
b/include/linux/pfn_t.h
index 94994810c7c086e8410f3333d919ef5256595ad5..a3d90b9da18d444f0d53437d1dd5c4bd01c9e845 100644
(file)
--- a/
include/linux/pfn_t.h
+++ b/
include/linux/pfn_t.h
@@
-28,7
+28,10
@@
static inline pfn_t pfn_to_pfn_t(unsigned long pfn)
return __pfn_to_pfn_t(pfn, 0);
}
return __pfn_to_pfn_t(pfn, 0);
}
-extern pfn_t phys_to_pfn_t(phys_addr_t addr, u64 flags);
+static inline pfn_t phys_to_pfn_t(phys_addr_t addr, u64 flags)
+{
+ return __pfn_to_pfn_t(addr >> PAGE_SHIFT, flags);
+}
static inline bool pfn_t_has_page(pfn_t pfn)
{
static inline bool pfn_t_has_page(pfn_t pfn)
{
This page took
0.055521 seconds
and
5
git commands to generate.