summaryrefslogtreecommitdiffstats
path: root/core/test
diff options
context:
space:
mode:
Diffstat (limited to 'core/test')
-rw-r--r--core/test/run-malloc-speed.c1
-rw-r--r--core/test/run-malloc.c1
-rw-r--r--core/test/run-mem_range_is_reserved.c2
-rw-r--r--core/test/run-mem_region.c1
-rw-r--r--core/test/run-mem_region_init.c2
-rw-r--r--core/test/run-mem_region_next.c2
-rw-r--r--core/test/run-mem_region_release_unused.c2
-rw-r--r--core/test/run-mem_region_release_unused_noalloc.c2
-rw-r--r--core/test/run-mem_region_reservations.c2
9 files changed, 15 insertions, 0 deletions
diff --git a/core/test/run-malloc-speed.c b/core/test/run-malloc-speed.c
index 8ecef3a0..94e96e79 100644
--- a/core/test/run-malloc-speed.c
+++ b/core/test/run-malloc-speed.c
@@ -49,6 +49,7 @@ static inline void real_free(void *p)
char __rodata_start[1], __rodata_end[1];
struct dt_node *dt_root;
+enum proc_chip_quirks proc_chip_quirks;
void lock_caller(struct lock *l, const char *caller)
{
diff --git a/core/test/run-malloc.c b/core/test/run-malloc.c
index 0204e77d..cb68768c 100644
--- a/core/test/run-malloc.c
+++ b/core/test/run-malloc.c
@@ -51,6 +51,7 @@ static inline void real_free(void *p)
#define TEST_HEAP_SIZE (1ULL << TEST_HEAP_ORDER)
struct dt_node *dt_root;
+enum proc_chip_quirks proc_chip_quirks;
void lock_caller(struct lock *l, const char *caller)
{
diff --git a/core/test/run-mem_range_is_reserved.c b/core/test/run-mem_range_is_reserved.c
index f44f1c2d..15dc6cbc 100644
--- a/core/test/run-mem_range_is_reserved.c
+++ b/core/test/run-mem_range_is_reserved.c
@@ -53,6 +53,8 @@ static void real_free(void *p)
#include <assert.h>
#include <stdio.h>
+enum proc_chip_quirks proc_chip_quirks;
+
void lock_caller(struct lock *l, const char *caller)
{
(void)caller;
diff --git a/core/test/run-mem_region.c b/core/test/run-mem_region.c
index 1fd20937..4b3aff74 100644
--- a/core/test/run-mem_region.c
+++ b/core/test/run-mem_region.c
@@ -52,6 +52,7 @@ static inline void real_free(void *p)
#include <stdio.h>
struct dt_node *dt_root;
+enum proc_chip_quirks proc_chip_quirks;
void lock_caller(struct lock *l, const char *caller)
{
diff --git a/core/test/run-mem_region_init.c b/core/test/run-mem_region_init.c
index f70d70f8..b6d33f5a 100644
--- a/core/test/run-mem_region_init.c
+++ b/core/test/run-mem_region_init.c
@@ -59,6 +59,8 @@ static inline char *skiboot_strdup(const char *str)
#include <assert.h>
#include <stdio.h>
+enum proc_chip_quirks proc_chip_quirks;
+
void lock_caller(struct lock *l, const char *caller)
{
(void)caller;
diff --git a/core/test/run-mem_region_next.c b/core/test/run-mem_region_next.c
index fec5df8f..3228d4fd 100644
--- a/core/test/run-mem_region_next.c
+++ b/core/test/run-mem_region_next.c
@@ -48,6 +48,8 @@ static void real_free(void *p)
#include <assert.h>
#include <stdio.h>
+enum proc_chip_quirks proc_chip_quirks;
+
void lock_caller(struct lock *l, const char *caller)
{
(void)caller;
diff --git a/core/test/run-mem_region_release_unused.c b/core/test/run-mem_region_release_unused.c
index 4fe62ca5..1834a4c2 100644
--- a/core/test/run-mem_region_release_unused.c
+++ b/core/test/run-mem_region_release_unused.c
@@ -56,6 +56,8 @@ static inline void __free(void *p, const char *location __attribute__((unused)))
#include <assert.h>
#include <stdio.h>
+enum proc_chip_quirks proc_chip_quirks;
+
void lock_caller(struct lock *l, const char *caller)
{
(void)caller;
diff --git a/core/test/run-mem_region_release_unused_noalloc.c b/core/test/run-mem_region_release_unused_noalloc.c
index fe571350..9ee2742a 100644
--- a/core/test/run-mem_region_release_unused_noalloc.c
+++ b/core/test/run-mem_region_release_unused_noalloc.c
@@ -56,6 +56,8 @@ static inline void __free(void *p, const char *location __attribute__((unused)))
#include <assert.h>
#include <stdio.h>
+enum proc_chip_quirks proc_chip_quirks;
+
void lock_caller(struct lock *l, const char *caller)
{
(void)caller;
diff --git a/core/test/run-mem_region_reservations.c b/core/test/run-mem_region_reservations.c
index b0e48474..6cb13612 100644
--- a/core/test/run-mem_region_reservations.c
+++ b/core/test/run-mem_region_reservations.c
@@ -53,6 +53,8 @@ static void real_free(void *p)
#include <assert.h>
#include <stdio.h>
+enum proc_chip_quirks proc_chip_quirks;
+
void lock_caller(struct lock *l, const char *caller)
{
(void)caller;
OpenPOWER on IntegriCloud