All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fixup: x86: Add missing global_data declaration in tables
@ 2020-11-05 13:24 Simon Glass
  2020-11-06  1:55 ` Bin Meng
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Glass @ 2020-11-05 13:24 UTC (permalink / raw)
  To: u-boot

This file needs to use the global data pointer. Add the required
declaration.

This is a fixup patch for the following:

   09218442ca7 x86: Allow putting some tables in the bloblist

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 arch/x86/lib/tables.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c
index 8dc07868c1f..c4007fa4866 100644
--- a/arch/x86/lib/tables.c
+++ b/arch/x86/lib/tables.c
@@ -14,6 +14,8 @@
 #include <asm/tables.h>
 #include <asm/coreboot_tables.h>
 
+DECLARE_GLOBAL_DATA_PTR;
+
 /**
  * Function prototype to write a specific configuration table
  *
-- 
2.29.1.341.ge80a0c044ae-goog

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] fixup: x86: Add missing global_data declaration in tables
  2020-11-05 13:24 [PATCH] fixup: x86: Add missing global_data declaration in tables Simon Glass
@ 2020-11-06  1:55 ` Bin Meng
  0 siblings, 0 replies; 2+ messages in thread
From: Bin Meng @ 2020-11-06  1:55 UTC (permalink / raw)
  To: u-boot

On Thu, Nov 5, 2020 at 9:24 PM Simon Glass <sjg@chromium.org> wrote:
>
> This file needs to use the global data pointer. Add the required
> declaration.
>
> This is a fixup patch for the following:
>
>    09218442ca7 x86: Allow putting some tables in the bloblist
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  arch/x86/lib/tables.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c
> index 8dc07868c1f..c4007fa4866 100644
> --- a/arch/x86/lib/tables.c
> +++ b/arch/x86/lib/tables.c
> @@ -14,6 +14,8 @@
>  #include <asm/tables.h>
>  #include <asm/coreboot_tables.h>
>
> +DECLARE_GLOBAL_DATA_PTR;
> +
>  /**
>   * Function prototype to write a specific configuration table
>   *
> --

squashed in the following commit:
09218442ca7 x86: Allow putting some tables in the bloblist

applied to u-boot-x86, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-06  1:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 13:24 [PATCH] fixup: x86: Add missing global_data declaration in tables Simon Glass
2020-11-06  1:55 ` Bin Meng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.