summaryrefslogtreecommitdiff
path: root/tools/arch/tile/include/asm/barrier.h
blob: 7d3692c3d4ac2bc44265f2273a1e7479d1ebfb86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _TOOLS_LINUX_ASM_TILE_BARRIER_H
#define _TOOLS_LINUX_ASM_TILE_BARRIER_H
/*
 * FIXME: This came from tools/perf/perf-sys.h, where it was first introduced
 * in 620830b6954913647b7c7f68920cf48eddf6ad92, more work needed to make it
 * more closely follow the Linux kernel arch/tile/include/asm/barrier.h file.
 * Probably when we continue work on tools/ Kconfig support to have all the
 * CONFIG_ needed for properly doing that.
 */

#define mb()		asm volatile ("mf" ::: "memory")
#define wmb()		mb()
#define rmb()		mb()

#endif /* _TOOLS_LINUX_ASM_TILE_BARRIER_H */
.org>2017-01-22 12:47:48 -0800 committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-22 12:47:48 -0800 commit095cbe66973771fecd8e8b1e8763181363ef703e (patch) treec361a93d62ed171ac958deb0d4ff0faa980bb290 /drivers/usb/atm/speedtch.c parent24b86839fab8e8059d2b16e0067dc86a1a0d3514 (diff)parent020eb3daaba2857b32c4cf4c82f503d6a00a67de (diff)
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fix from Thomas Gleixner: "Restore the retrigger callbacks in the IO APIC irq chips. That addresses a long standing regression which got introduced with the rewrite of the x86 irq subsystem two years ago and went unnoticed so far" * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/ioapic: Restore IO-APIC irq_chip retrigger callback
Diffstat (limited to 'drivers/usb/atm/speedtch.c')