mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 14:41:26 +01:00
x86: Move include of bitops out of ACPI region
At present linux/bitops.h is included in ACPI code. This is not needed and can cause a problem in fls64.h since BITS_PER_LONG is not defined. Move the #include into the part not used by ACPI. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
70c202c480
commit
ee3cb7c648
@ -14,7 +14,6 @@
|
|||||||
#define __ACPI_TABLE_H__
|
#define __ACPI_TABLE_H__
|
||||||
|
|
||||||
#include <dm/acpi.h>
|
#include <dm/acpi.h>
|
||||||
#include <linux/bitops.h>
|
|
||||||
|
|
||||||
#define RSDP_SIG "RSD PTR " /* RSDP pointer signature */
|
#define RSDP_SIG "RSD PTR " /* RSDP pointer signature */
|
||||||
#define OEM_ID "U-BOOT" /* U-Boot */
|
#define OEM_ID "U-BOOT" /* U-Boot */
|
||||||
@ -29,6 +28,8 @@
|
|||||||
|
|
||||||
#if !defined(__ACPI__)
|
#if !defined(__ACPI__)
|
||||||
|
|
||||||
|
#include <linux/bitops.h>
|
||||||
|
|
||||||
struct acpi_ctx;
|
struct acpi_ctx;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user