ARM: 8018/1: Add {inc,dec}_preempt_count asm macros
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 2 Apr 2014 09:57:49 +0000 (10:57 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 Apr 2014 12:08:08 +0000 (13:08 +0100)
commit0b1f68e836bcf1ca2861f95066985c57ecfb2f1a
tree2cc6151c12ad8629834eefa35fc1f68442a16f73
parent39ad04ccd6e1b235601e9ac5a7f508d05728a97a
ARM: 8018/1: Add {inc,dec}_preempt_count asm macros

The patch adds asm macros for inc_preempt_count and dec_preempt_count_ti
(which also gets the current thread_info) instead of open-coding them in
arch/arm/vfp/*.S files.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Arun KS <getarunks@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/assembler.h
arch/arm/vfp/entry.S
arch/arm/vfp/vfphw.S