History

Merge branch 'akpm' (patches from Andrew)

Merge misc fixes from Andrew Morton: "15 fixes" * emailed patches from Andrew Morton <akpm@linux-foundation.org>: lib/stackdepot: export save/fetch stack for drivers mm: kmemleak: scan .data.ro_after_init memcg: prevent memcg caches to be both OFF_SLAB & OBJFREELIST_SLAB coredump: fix unfreezable coredumping task mm/filemap: don't allow partially uptodate page for pipes mm/hugetlb: fix huge page reservation leak in private mapping error paths ocfs2: fix not enough credit panic Revert "console: don't prefer first registered if DT specifies stdout-path" mm: hwpoison: fix thp split handling in memory_failure() swapfile: fix memory corruption via malformed swapfile mm/cma.c: check the max limit for cma allocation scripts/bloat-o-meter: fix SIGPIPE shmem: fix pageflags after swapping DMA32 object mm, frontswap: make sure allocated frontswap map is assigned mm: remove extra newline from allocation stall warning

Linus Torvalds committed 10 years ago

Commit 968ef8d2 parents c5e4ca6 ae65a2119 files · +104 −34Browse files

Showing the changes to include/linux (2 of 19 files). Show all

Unified · Split

2 files
  1. include/linux/console.h +0 −6
  2. include/linux/frontswap.h +3 −2
include/linux/console.h+0−6
@@ -173,12 +173,6 @@ static inline void console_sysfs_notify(void) · 172 unmodified lines
173#endif173#endif
174extern bool console_suspend_enabled;174extern bool console_suspend_enabled;
175 175
176#ifdef CONFIG_OF
177extern void console_set_by_of(void);
178#else
179static inline void console_set_by_of(void) {}
180#endif
181
182/* Suspend and resume console messages over PM events */176/* Suspend and resume console messages over PM events */
183extern void suspend_console(void);177extern void suspend_console(void);
184extern void resume_console(void);178extern void resume_console(void);
include/linux/frontswap.h+3−2
@@ -106,8 +106,9 @@ static inline void frontswap_invalidate_area(unsigned type) · 105 unmodified lines
106 106
107static inline void frontswap_init(unsigned type, unsigned long *map)107static inline void frontswap_init(unsigned type, unsigned long *map)
108{108{
109 if (frontswap_enabled())109#ifdef CONFIG_FRONTSWAP
110 __frontswap_init(type, map);110 __frontswap_init(type, map);
111#endif
111}112}
112 113
113#endif /* _LINUX_FRONTSWAP_H */114#endif /* _LINUX_FRONTSWAP_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t