Skip to content
Permalink
Browse files

arch/x86: remove arch-specific ffs.h, rely on compiler built-ins

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 Jun 27, 2019
1 parent 930e6af commit a039bec3c7129ef650fcf09800a3e251e24cccac
Showing with 1 addition and 135 deletions.
  1. +0 −134 include/arch/x86/ffs.h
  2. +1 −1 include/arch/x86/ia32/arch.h

This file was deleted.

@@ -21,7 +21,7 @@
#include <mmustructs.h>
#include <stdbool.h>
#include "../sys_io.h"
#include "../ffs.h"
#include <arch/common/ffs.h>

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

0 comments on commit a039bec

Please sign in to comment.
You can’t perform that action at this time.