diff options
author | Tom Rini <trini@konsulko.com> | 2024-11-14 10:51:13 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-11-14 10:51:28 -0600 |
commit | 2b14d12067709bca97a0b7239dffd23b7c4a1ea3 (patch) | |
tree | 1d352f33bd39e4176ee4483c24618edbafee90a4 /examples/api/glue.c | |
parent | f6ee67126492f07d400d677e82467de3f8ad2bda (diff) | |
parent | 9e7d7f95ecfe0dd94b17c8dddff0e9f4934c2ad2 (diff) |
Merge patch series "examples: fix building on arm64"
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> says:
Commit f9886bc60f42 ("Added arm64 assembly for examples/api crt0") added
the arm64 architecture but the code does not even build.
With the changes the 'demo' program runs on qemu_arm64_defconfig using
setenv autostart no
dhcp demo
setenv autostart yes
bootelf $loadaddr
Link: https://lore.kernel.org/r/20241103053551.52715-1-heinrich.schuchardt@canonical.com
Diffstat (limited to 'examples/api/glue.c')
-rw-r--r-- | examples/api/glue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/api/glue.c b/examples/api/glue.c index 0aaa82bccb2..478f7b6cfb4 100644 --- a/examples/api/glue.c +++ b/examples/api/glue.c @@ -41,8 +41,8 @@ static int valid_sig(struct api_signature *sig) int api_search_sig(struct api_signature **sig) { unsigned char *sp; - uint32_t search_start = 0; - uint32_t search_end = 0; + uintptr_t search_start = 0; + uintptr_t search_end = 0; if (sig == NULL) return 0; |