Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gou patches 01 #429

Merged
merged 3 commits into from
Sep 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions arch/arm64/configs/odroidgou_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2885,7 +2885,7 @@ CONFIG_88XXAU=m
CONFIG_RTL8188EU=m
CONFIG_ESP8089=m
CONFIG_ESP8089_DEBUG_FS=y
# CONFIG_RTL8821CU is not set
CONFIG_RTL8821CU=m
# CONFIG_MAC80211_HWSIM is not set
CONFIG_USB_NET_RNDIS_WLAN=m

Expand Down Expand Up @@ -5121,7 +5121,10 @@ CONFIG_USB_ZERO=m
# CONFIG_USB_ETH is not set
# CONFIG_USB_G_NCM is not set
CONFIG_USB_GADGETFS=m
# CONFIG_USB_FUNCTIONFS is not set
CONFIG_USB_FUNCTIONFS=m
CONFIG_USB_FUNCTIONFS_ETH=y
CONFIG_USB_FUNCTIONFS_RNDIS=y
CONFIG_USB_FUNCTIONFS_GENERIC=y
CONFIG_USB_MASS_STORAGE=m
# CONFIG_USB_G_SERIAL is not set
# CONFIG_USB_MIDI_GADGET is not set
Expand Down
1 change: 1 addition & 0 deletions drivers/base/dma-contiguous.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#endif

struct cma *dma_contiguous_default_area;
EXPORT_SYMBOL_GPL(dma_contiguous_default_area);

/*
* Default global CMA area size can be defined in kernel's .config.
Expand Down
2 changes: 2 additions & 0 deletions lib/radix-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ static unsigned long height_to_maxnodes[RADIX_TREE_MAX_PATH + 1] __read_mostly;
* Radix tree node cache.
*/
static struct kmem_cache *radix_tree_node_cachep;
EXPORT_SYMBOL_GPL(radix_tree_node_cachep);

/*
* The radix tree is variable-height, so an insert operation not only has
Expand Down Expand Up @@ -329,6 +330,7 @@ static void radix_tree_node_rcu_free(struct rcu_head *head)

kmem_cache_free(radix_tree_node_cachep, node);
}
EXPORT_SYMBOL_GPL(radix_tree_node_rcu_free);

static inline void
radix_tree_node_free(struct radix_tree_node *node)
Expand Down
3 changes: 2 additions & 1 deletion mm/cma.c
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,7 @@ struct page *cma_alloc(struct cma *cma, size_t count, unsigned int align)
pr_debug("%s(): returned %p\n", __func__, page);
return page;
}
EXPORT_SYMBOL(cma_alloc);

/**
* cma_release() - release allocated pages
Expand Down Expand Up @@ -661,4 +662,4 @@ bool cma_release(struct cma *cma, const struct page *pages, unsigned int count)

return true;
}

EXPORT_SYMBOL(cma_release);