aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorWang Hongcheng <annie.wang@amd.com>2016-03-13 22:29:09 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-10 06:32:31 -0400
commitffe1b6c453ef49e6fcf31c23636333aa4e65aa47 (patch)
treec892021696c3bb72baea48827b6af7c8787cb115 /tools/perf/scripts/python/futex-contention.py
parent80403b232b7af033bb5a2043fc4d60f16e46519f (diff)
video: AMBA CLCD: Remove unncessary include in amba-clcd.c
The header file asm/sizes.h is unnecessary. And it can also be compiled under X86 arch after the removal. Signed-off-by: Wang Hongcheng <annie.wang@amd.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
ef __LINUX_UACCESS_H__ #define __LINUX_UACCESS_H__ #include <linux/preempt.h> #include <asm/uaccess.h> /* * These routines enable/disable the pagefault handler in that * it will not take any locks and go straight to the fixup table. * * They have great resemblance to the preempt_disable/enable calls * and in fact they are identical; this is because currently there is * no other way to make the pagefault handlers do this. So we do * disable preemption but we don't necessarily care about that. */ static inline void pagefault_disable(void) { inc_preempt_count(); /* * make sure to have issued the store before a pagefault * can hit. */ barrier(); } static inline void pagefault_enable(void) { /* * make sure to issue those last loads/stores before enabling * the pagefault handler again. */ barrier(); dec_preempt_count(); /* * make sure we do..