Skip to content

Commit

Permalink
arch/x86: remove arch-specific ffs.h, rely on compiler built-ins
Browse files Browse the repository at this point in the history
The compiler is going to make better per-arch/per-implementation
choices about bit operations, so let's use the common definitions.

Signed-off-by: Charles E. Youse <charles.youse@intel.com>
  • Loading branch information
Charles E. Youse authored and nashif committed Jul 2, 2019
1 parent 930e6af commit a039bec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 135 deletions.
134 changes: 0 additions & 134 deletions include/arch/x86/ffs.h

This file was deleted.

2 changes: 1 addition & 1 deletion include/arch/x86/ia32/arch.h
Expand Up @@ -21,7 +21,7 @@
#include <mmustructs.h> #include <mmustructs.h>
#include <stdbool.h> #include <stdbool.h>
#include "../sys_io.h" #include "../sys_io.h"
#include "../ffs.h" #include <arch/common/ffs.h>


#ifndef _ASMLANGUAGE #ifndef _ASMLANGUAGE
#include <arch/x86/asm_inline.h> #include <arch/x86/asm_inline.h>
Expand Down

0 comments on commit a039bec

Please sign in to comment.