diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-03 11:38:46 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-03 11:42:44 +0100 |
commit | baf8fc002ce67ca80f3bd7456b52a9bd2f10402d (patch) | |
tree | fbca524be55cf524ccb0d823b68b2c7168ab4533 /scripts | |
parent | 64fc4ac1b50a06b17a72c7427e797b3a33a30e8c (diff) | |
download | barebox-baf8fc002ce67ca80f3bd7456b52a9bd2f10402d.tar.gz barebox-baf8fc002ce67ca80f3bd7456b52a9bd2f10402d.tar.xz |
scripts: Make list implementation usable
The list implementation in scripts/ includes poison.h which doesn't
exist. Remove the inclusion and add the defines from poison.h that we
need.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/include/linux/list.h | 3 | ||||
-rw-r--r-- | scripts/include/linux/poison.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/include/linux/list.h b/scripts/include/linux/list.h index 1da423820a..d6b24f6b74 100644 --- a/scripts/include/linux/list.h +++ b/scripts/include/linux/list.h @@ -2,7 +2,6 @@ #define __TOOLS_LINUX_LIST_H #include <linux/types.h> -#include <linux/poison.h> #include <linux/kernel.h> #include <linux/compiler.h> @@ -15,6 +14,8 @@ * generate better code by using them directly rather than * using the generic single-entry routines. */ +#define LIST_POISON1 ((void *) 0x00100100) +#define LIST_POISON2 ((void *) 0x00200200) #define LIST_HEAD_INIT(name) { &(name), &(name) } diff --git a/scripts/include/linux/poison.h b/scripts/include/linux/poison.h deleted file mode 100644 index 0c27bdf142..0000000000 --- a/scripts/include/linux/poison.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../include/linux/poison.h" |