Page MenuHomeFreeBSD

D45386.diff
No OneTemporary

D45386.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/gfp.h b/sys/compat/linuxkpi/common/include/linux/gfp.h
--- a/sys/compat/linuxkpi/common/include/linux/gfp.h
+++ b/sys/compat/linuxkpi/common/include/linux/gfp.h
@@ -89,15 +89,15 @@
*
* NOTE: This function only works for pages allocated by the kernel.
*/
-extern void *linux_page_address(struct page *);
+void *linux_page_address(struct page *);
#define page_address(page) linux_page_address(page)
/*
* Page management for unmapped pages:
*/
-extern struct page *linux_alloc_pages(gfp_t flags, unsigned int order);
-extern void linux_free_pages(struct page *page, unsigned int order);
+struct page *linux_alloc_pages(gfp_t flags, unsigned int order);
+void linux_free_pages(struct page *page, unsigned int order);
void *linuxkpi_page_frag_alloc(struct page_frag_cache *, size_t, gfp_t);
void linuxkpi_page_frag_free(void *);
void linuxkpi__page_frag_cache_drain(struct page *, size_t);
@@ -146,8 +146,8 @@
/*
* Page management for mapped pages:
*/
-extern vm_offset_t linux_alloc_kmem(gfp_t flags, unsigned int order);
-extern void linux_free_kmem(vm_offset_t, unsigned int order);
+vm_offset_t linux_alloc_kmem(gfp_t flags, unsigned int order);
+void linux_free_kmem(vm_offset_t, unsigned int order);
static inline vm_offset_t
get_zeroed_page(gfp_t flags)

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 5:06 AM (19 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16078102
Default Alt Text
D45386.diff (1 KB)

Event Timeline