Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull core fixes from Thomas Gleixner:
"A small set of core updates:
- Make the watchdog respect the selected CPU mask again. That was
broken by the rework of the watchdog thread management and caused
inconsistent state and NMI watchdog being unstoppable.
- Ensure that the objtool build can find the libelf location.
- Remove dead kcore stub code"
* 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
watchdog: Respect watchdog cpumask on CPU hotplug
objtool: Query pkg-config for libelf location
proc/kcore: Remove unused kclist_add_remap()
This commit is contained in:
commit
f78b5be2a5
4 changed files with 12 additions and 16 deletions
|
|
@ -38,12 +38,6 @@ struct vmcoredd_node {
|
|||
|
||||
#ifdef CONFIG_PROC_KCORE
|
||||
void __init kclist_add(struct kcore_list *, void *, size_t, int type);
|
||||
static inline
|
||||
void kclist_add_remap(struct kcore_list *m, void *addr, void *vaddr, size_t sz)
|
||||
{
|
||||
m->vaddr = (unsigned long)vaddr;
|
||||
kclist_add(m, addr, sz, KCORE_REMAP);
|
||||
}
|
||||
|
||||
extern int __init register_mem_pfn_is_ram(int (*fn)(unsigned long pfn));
|
||||
#else
|
||||
|
|
@ -51,11 +45,6 @@ static inline
|
|||
void kclist_add(struct kcore_list *new, void *addr, size_t size, int type)
|
||||
{
|
||||
}
|
||||
|
||||
static inline
|
||||
void kclist_add_remap(struct kcore_list *m, void *addr, void *vaddr, size_t sz)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _LINUX_KCORE_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue