Skip to content
Commit 4146b346 authored by Peter Mitsis's avatar Peter Mitsis Committed by Anas Nashif
Browse files

x86: streamline irq_lock()/irq_unlock()



The routines _int_latency_start() and _int_latency_stop() have been
replaced by macros that evaluate to nothing when the kernel config
option INT_LATENCY_BENCHMARK is not enabled thereby giving a performance
boost to the x86 versions of irq_lock() and and irq_unlock().

Change-Id: Iabfa7bf001f5b8396e7bcf5eebd6b1aa342bac46
Signed-off-by: default avatarPeter Mitsis <peter.mitsis@windriver.com>
parent 3c350ffb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment