#ifndef __MM_CMA_H__ #define __MM_CMA_H__ struct cma { unsigned long base_pfn; unsigned long count; unsigned long *bitmap; unsigned int order_per_bit; /* Order of pages represented by one bit */ struct mutex lock; #ifdef CONFIG_CMA_DEBUGFS struct hlist_head mem_head; spinlock_t mem_head_lock; #endif }; extern struct cma cma_areas[MAX_CMA_AREAS]; extern unsigned cma_area_count; static inline unsigned long cma_bitmap_maxno(struct cma *cma) { return cma->count >> cma->order_per_bit; } #endif title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
path: root/net/sched/act_pedit.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-27 12:25:26 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-27 12:25:26 -0800
commit69978aa0f21f43529e11f924504dadb6ce2f229a (patch)
treecad7f9c9b01b7d1839a3d12e9178ceb5b2b33873 /net/sched/act_pedit.c
parent2b4321503e62523e701405163a034875e92d68cf (diff)
parent0d6da872d3e4a60f43c295386d7ff9a4cdcd57e9 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
Pull s390 fixes from Martin Schwidefsky: "Another two bug fixes: - ptrace partial write information leak - a guest page hinting regression introduced with v4.6" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: s390/mm: Fix cmma unused transfer from pgste into pte s390/ptrace: Preserve previous registers for short regset write
Diffstat (limited to 'net/sched/act_pedit.c')