summaryrefslogtreecommitdiff
path: root/arch/arm/vfp/vfphw.S
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-02-01 10:22:47 +0400
committerTakashi Iwai <tiwai@suse.de>2013-02-01 10:22:47 +0400
commit8058e14259ddc8c1824387198fc53700ed4cccc9 (patch)
treefaffb83ca5173e5f3cbfd4170de603ada4812e23 /arch/arm/vfp/vfphw.S
parent9ddf1aeb2134e72275c97a2c6ff2e3eb04f2f27a (diff)
parent7da58046482fceb17c4a0d4afefd9507ec56de7f (diff)
downloadlinux-8058e14259ddc8c1824387198fc53700ed4cccc9.tar.xz
Merge branch 'usb-audio-fix' of git://git.alsa-project.org/alsa-kprivate into for-linus
Diffstat (limited to 'arch/arm/vfp/vfphw.S')
-rw-r--r--arch/arm/vfp/vfphw.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/vfp/vfphw.S b/arch/arm/vfp/vfphw.S
index ea0349f63586..dd5e56f95f3f 100644
--- a/arch/arm/vfp/vfphw.S
+++ b/arch/arm/vfp/vfphw.S
@@ -168,7 +168,7 @@ vfp_hw_state_valid:
@ else it's one 32-bit instruction, so
@ always subtract 4 from the following
@ instruction address.
-#ifdef CONFIG_PREEMPT
+#ifdef CONFIG_PREEMPT_COUNT
get_thread_info r10
ldr r4, [r10, #TI_PREEMPT] @ get preempt count
sub r11, r4, #1 @ decrement it
@@ -192,7 +192,7 @@ look_for_VFP_exceptions:
@ not recognised by VFP
DBGSTR "not VFP"
-#ifdef CONFIG_PREEMPT
+#ifdef CONFIG_PREEMPT_COUNT
get_thread_info r10
ldr r4, [r10, #TI_PREEMPT] @ get preempt count
sub r11, r4, #1 @ decrement it