ANDROID: GKI: export symbols from abi_gki_aarch64_qcom_whitelist
Run the script, $ ../build/gki/add_EXPORT_SYMBOL_GPL < abi_gki_aarch64_qcom_whitelist This will export all the required symbols that are in this kernel. Signed-off-by: Will McVicker <willmcvicker@google.com> Bug: 153886473 Test: compile Change-Id: I703509d75104cd86f472481346e3efbd235121ab
This commit is contained in:
parent
6baa77a312
commit
0a2394dc5a
19 changed files with 22 additions and 0 deletions
|
@ -720,6 +720,7 @@ int kern_addr_valid(unsigned long addr)
|
||||||
|
|
||||||
return pfn_valid(pte_pfn(pte));
|
return pfn_valid(pte_pfn(pte));
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(kern_addr_valid);
|
||||||
#ifdef CONFIG_SPARSEMEM_VMEMMAP
|
#ifdef CONFIG_SPARSEMEM_VMEMMAP
|
||||||
#if !ARM64_SWAPPER_USES_SECTION_MAPS
|
#if !ARM64_SWAPPER_USES_SECTION_MAPS
|
||||||
int __meminit vmemmap_populate(unsigned long start, unsigned long end, int node,
|
int __meminit vmemmap_populate(unsigned long start, unsigned long end, int node,
|
||||||
|
|
|
@ -2939,6 +2939,7 @@ int device_online(struct device *dev)
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(device_online);
|
||||||
|
|
||||||
struct root_device {
|
struct root_device {
|
||||||
struct device dev;
|
struct device dev;
|
||||||
|
|
|
@ -948,6 +948,7 @@ u32 arch_timer_get_rate(void)
|
||||||
{
|
{
|
||||||
return arch_timer_rate;
|
return arch_timer_rate;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(arch_timer_get_rate);
|
||||||
|
|
||||||
bool arch_timer_evtstrm_available(void)
|
bool arch_timer_evtstrm_available(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -95,6 +95,7 @@ int cpuidle_register_governor(struct cpuidle_governor *gov)
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(cpuidle_register_governor);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cpuidle_governor_latency_req - Compute a latency constraint for CPU
|
* cpuidle_governor_latency_req - Compute a latency constraint for CPU
|
||||||
|
|
|
@ -2818,6 +2818,7 @@ int __drm_atomic_helper_disable_plane(struct drm_plane *plane,
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(__drm_atomic_helper_disable_plane);
|
||||||
|
|
||||||
static int update_output_state(struct drm_atomic_state *state,
|
static int update_output_state(struct drm_atomic_state *state,
|
||||||
struct drm_mode_set *set)
|
struct drm_mode_set *set)
|
||||||
|
@ -3003,6 +3004,7 @@ int __drm_atomic_helper_set_config(struct drm_mode_set *set,
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(__drm_atomic_helper_set_config);
|
||||||
|
|
||||||
static int __drm_atomic_helper_disable_all(struct drm_device *dev,
|
static int __drm_atomic_helper_disable_all(struct drm_device *dev,
|
||||||
struct drm_modeset_acquire_ctx *ctx,
|
struct drm_modeset_acquire_ctx *ctx,
|
||||||
|
|
|
@ -1753,6 +1753,7 @@ int drm_mode_convert_umode(struct drm_device *dev,
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(drm_mode_convert_umode);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* drm_mode_is_420_only - if a given videomode can be only supported in YCBCR420
|
* drm_mode_is_420_only - if a given videomode can be only supported in YCBCR420
|
||||||
|
|
|
@ -54,6 +54,7 @@ struct kernfs_node *kernfs_create_link(struct kernfs_node *parent,
|
||||||
kernfs_put(kn);
|
kernfs_put(kn);
|
||||||
return ERR_PTR(error);
|
return ERR_PTR(error);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(kernfs_create_link);
|
||||||
|
|
||||||
static int kernfs_get_target_path(struct kernfs_node *parent,
|
static int kernfs_get_target_path(struct kernfs_node *parent,
|
||||||
struct kernfs_node *target, char *path)
|
struct kernfs_node *target, char *path)
|
||||||
|
|
|
@ -924,6 +924,7 @@ static const struct kset_uevent_ops module_uevent_ops = {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct kset *module_kset;
|
struct kset *module_kset;
|
||||||
|
EXPORT_SYMBOL_GPL(module_kset);
|
||||||
int module_sysfs_initialized;
|
int module_sysfs_initialized;
|
||||||
|
|
||||||
static void module_kobj_release(struct kobject *kobj)
|
static void module_kobj_release(struct kobject *kobj)
|
||||||
|
@ -936,6 +937,7 @@ struct kobj_type module_ktype = {
|
||||||
.release = module_kobj_release,
|
.release = module_kobj_release,
|
||||||
.sysfs_ops = &module_sysfs_ops,
|
.sysfs_ops = &module_sysfs_ops,
|
||||||
};
|
};
|
||||||
|
EXPORT_SYMBOL_GPL(module_ktype);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* param_sysfs_init - wrapper for built-in params support
|
* param_sysfs_init - wrapper for built-in params support
|
||||||
|
|
|
@ -535,6 +535,7 @@ static inline void pm_print_times_init(void) {}
|
||||||
#endif /* CONFIG_PM_SLEEP_DEBUG */
|
#endif /* CONFIG_PM_SLEEP_DEBUG */
|
||||||
|
|
||||||
struct kobject *power_kobj;
|
struct kobject *power_kobj;
|
||||||
|
EXPORT_SYMBOL_GPL(power_kobj);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* state - control system sleep states.
|
* state - control system sleep states.
|
||||||
|
|
|
@ -669,6 +669,7 @@ void pm_qos_update_request_timeout(struct pm_qos_request *req, s32 new_value,
|
||||||
|
|
||||||
schedule_delayed_work(&req->work, usecs_to_jiffies(timeout_us));
|
schedule_delayed_work(&req->work, usecs_to_jiffies(timeout_us));
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(pm_qos_update_request_timeout);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pm_qos_remove_request - modifies an existing qos request
|
* pm_qos_remove_request - modifies an existing qos request
|
||||||
|
|
|
@ -76,6 +76,7 @@ void s2idle_set_ops(const struct platform_s2idle_ops *ops)
|
||||||
s2idle_ops = ops;
|
s2idle_ops = ops;
|
||||||
unlock_system_sleep();
|
unlock_system_sleep();
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(s2idle_set_ops);
|
||||||
|
|
||||||
static void s2idle_begin(void)
|
static void s2idle_begin(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -448,12 +448,14 @@ char *log_buf_addr_get(void)
|
||||||
{
|
{
|
||||||
return log_buf;
|
return log_buf;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(log_buf_addr_get);
|
||||||
|
|
||||||
/* Return log buffer size */
|
/* Return log buffer size */
|
||||||
u32 log_buf_len_get(void)
|
u32 log_buf_len_get(void)
|
||||||
{
|
{
|
||||||
return log_buf_len;
|
return log_buf_len;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(log_buf_len_get);
|
||||||
|
|
||||||
/* human readable text of the record */
|
/* human readable text of the record */
|
||||||
static char *log_text(const struct printk_log *msg)
|
static char *log_text(const struct printk_log *msg)
|
||||||
|
|
|
@ -1067,6 +1067,7 @@ ktime_t tick_nohz_get_sleep_length(ktime_t *delta_next)
|
||||||
|
|
||||||
return ktime_sub(next_event, now);
|
return ktime_sub(next_event, now);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(tick_nohz_get_sleep_length);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* tick_nohz_get_idle_calls_cpu - return the current idle calls counter value
|
* tick_nohz_get_idle_calls_cpu - return the current idle calls counter value
|
||||||
|
|
|
@ -181,3 +181,4 @@ int ioremap_page_range(unsigned long addr,
|
||||||
|
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(ioremap_page_range);
|
||||||
|
|
|
@ -133,6 +133,7 @@ void plist_del(struct plist_node *node, struct plist_head *head)
|
||||||
|
|
||||||
plist_check_head(head);
|
plist_check_head(head);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(plist_del);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* plist_requeue - Requeue @node at end of same-prio entries.
|
* plist_requeue - Requeue @node at end of same-prio entries.
|
||||||
|
|
|
@ -803,6 +803,7 @@ int __init_memblock memblock_free(phys_addr_t base, phys_addr_t size)
|
||||||
kmemleak_free_part_phys(base, size);
|
kmemleak_free_part_phys(base, size);
|
||||||
return memblock_remove_range(&memblock.reserved, base, size);
|
return memblock_remove_range(&memblock.reserved, base, size);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(memblock_free);
|
||||||
|
|
||||||
int __init_memblock memblock_reserve(phys_addr_t base, phys_addr_t size)
|
int __init_memblock memblock_reserve(phys_addr_t base, phys_addr_t size)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2049,6 +2049,7 @@ unsigned long unmapped_area_topdown(struct vm_unmapped_area_info *info)
|
||||||
VM_BUG_ON(gap_end < gap_start);
|
VM_BUG_ON(gap_end < gap_start);
|
||||||
return gap_end;
|
return gap_end;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(unmapped_area_topdown);
|
||||||
|
|
||||||
/* Get an address range which is currently unmapped.
|
/* Get an address range which is currently unmapped.
|
||||||
* For shmat() with addr=0.
|
* For shmat() with addr=0.
|
||||||
|
|
|
@ -939,6 +939,7 @@ int security_mmap_addr(unsigned long addr)
|
||||||
{
|
{
|
||||||
return call_int_hook(mmap_addr, 0, addr);
|
return call_int_hook(mmap_addr, 0, addr);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(security_mmap_addr);
|
||||||
|
|
||||||
int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot,
|
int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot,
|
||||||
unsigned long prot)
|
unsigned long prot)
|
||||||
|
|
|
@ -75,6 +75,7 @@ void *snd_usb_find_csint_desc(void *buffer, int buflen, void *after, u8 dsubtype
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(snd_usb_find_csint_desc);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Wrapper for usb_control_msg().
|
* Wrapper for usb_control_msg().
|
||||||
|
|
Loading…
Reference in a new issue