aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/vmalloc.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-11-23 03:04:05 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-11-23 03:04:05 -0500
commit92907cbbef8625bb3998d1eb385fc88f23c97a3f (patch)
tree15626ff9287e37c3cb81c7286d6db5a7fd77c854 /include/linux/vmalloc.h
parent15fbfccfe92c62ae8d1ecc647c44157ed01ac02e (diff)
parent1ec218373b8ebda821aec00bb156a9c94fad9cd4 (diff)
Merge tag 'v4.4-rc2' into drm-intel-next-queued
Linux 4.4-rc2 Backmerge to get at commit 1b0e3a049efe471c399674fd954500ce97438d30 Author: Imre Deak <imre.deak@intel.com> Date: Thu Nov 5 23:04:11 2015 +0200 drm/i915/skl: disable display side power well support for now so that we can proplery re-eanble skl power wells in -next. Conflicts are just adjacent lines changed, except for intel_fbdev.c where we need to interleave the changs. Nothing nefarious. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'include/linux/vmalloc.h')
-rw-r--r--include/linux/vmalloc.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h
index 0ec598381f97..3bff87a25a42 100644
--- a/include/linux/vmalloc.h
+++ b/include/linux/vmalloc.h
@@ -182,22 +182,10 @@ pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms)
182# endif 182# endif
183#endif 183#endif
184 184
185struct vmalloc_info {
186 unsigned long used;
187 unsigned long largest_chunk;
188};
189
190#ifdef CONFIG_MMU 185#ifdef CONFIG_MMU
191#define VMALLOC_TOTAL (VMALLOC_END - VMALLOC_START) 186#define VMALLOC_TOTAL (VMALLOC_END - VMALLOC_START)
192extern void get_vmalloc_info(struct vmalloc_info *vmi);
193#else 187#else
194
195#define VMALLOC_TOTAL 0UL 188#define VMALLOC_TOTAL 0UL
196#define get_vmalloc_info(vmi) \
197do { \
198 (vmi)->used = 0; \
199 (vmi)->largest_chunk = 0; \
200} while (0)
201#endif 189#endif
202 190
203#endif /* _LINUX_VMALLOC_H */ 191#endif /* _LINUX_VMALLOC_H */