diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 19:39:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 19:39:15 -0400 |
commit | eea3a00264cf243a28e4331566ce67b86059339d (patch) | |
tree | 487f16389e0dfa32e9caa7604d1274a7dcda8f04 /include/linux/rmap.h | |
parent | e7c82412433a8039616c7314533a0a1c025d99bf (diff) | |
parent | e693d73c20ffdb06840c9378f367bad849ac0d5d (diff) |
Merge branch 'akpm' (patches from Andrew)
Merge second patchbomb from Andrew Morton:
- the rest of MM
- various misc bits
- add ability to run /sbin/reboot at reboot time
- printk/vsprintf changes
- fiddle with seq_printf() return value
* akpm: (114 commits)
parisc: remove use of seq_printf return value
lru_cache: remove use of seq_printf return value
tracing: remove use of seq_printf return value
cgroup: remove use of seq_printf return value
proc: remove use of seq_printf return value
s390: remove use of seq_printf return value
cris fasttimer: remove use of seq_printf return value
cris: remove use of seq_printf return value
openrisc: remove use of seq_printf return value
ARM: plat-pxa: remove use of seq_printf return value
nios2: cpuinfo: remove use of seq_printf return value
microblaze: mb: remove use of seq_printf return value
ipc: remove use of seq_printf return value
rtc: remove use of seq_printf return value
power: wakeup: remove use of seq_printf return value
x86: mtrr: if: remove use of seq_printf return value
linux/bitmap.h: improve BITMAP_{LAST,FIRST}_WORD_MASK
MAINTAINERS: CREDITS: remove Stefano Brivio from B43
.mailmap: add Ricardo Ribalda
CREDITS: add Ricardo Ribalda Delgado
...
Diffstat (limited to 'include/linux/rmap.h')
-rw-r--r-- | include/linux/rmap.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/rmap.h b/include/linux/rmap.h index c4c559a45dc8..c89c53a113a8 100644 --- a/include/linux/rmap.h +++ b/include/linux/rmap.h | |||
@@ -105,14 +105,6 @@ static inline void put_anon_vma(struct anon_vma *anon_vma) | |||
105 | __put_anon_vma(anon_vma); | 105 | __put_anon_vma(anon_vma); |
106 | } | 106 | } |
107 | 107 | ||
108 | static inline struct anon_vma *page_anon_vma(struct page *page) | ||
109 | { | ||
110 | if (((unsigned long)page->mapping & PAGE_MAPPING_FLAGS) != | ||
111 | PAGE_MAPPING_ANON) | ||
112 | return NULL; | ||
113 | return page_rmapping(page); | ||
114 | } | ||
115 | |||
116 | static inline void vma_lock_anon_vma(struct vm_area_struct *vma) | 108 | static inline void vma_lock_anon_vma(struct vm_area_struct *vma) |
117 | { | 109 | { |
118 | struct anon_vma *anon_vma = vma->anon_vma; | 110 | struct anon_vma *anon_vma = vma->anon_vma; |