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

x86: Simplify _IntVecAlloc() logic



Instead of using logic choosing between invoking find_lsb_set() and
find_msb_set(), mask out the unwanted bits and always invoke find_lsb_set().
This also has the side benefit of simplifying the error checking when DEBUG is
enabled.

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