Skip to content

Commit

Permalink
include/arm64: Add essentials header
Browse files Browse the repository at this point in the history
Commit b85c0df ("plat/kvm/arm: Add alignament attribute to spinlock struct")
introduces the `__align()` macro in the definition of the
spinlock without including `essentials.h`.

Signed-off-by: Marc Rittinghaus <marc.rittinghaus@kit.edu>
Reviewed-by: Răzvan Vîrtan <virtanrazvan@gmail.com>
Approved-by: Michalis Pappas <mpappas@fastmail.fm>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #477
  • Loading branch information
marcrittinghaus authored and unikraft-bot committed Aug 15, 2022
1 parent e52bc5e commit 9154ca7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/arm64/include/uk/asm/spinlock.h
Expand Up @@ -34,6 +34,7 @@
#error Do not include this header directly
#endif

#include <uk/essentials.h>
#include <uk/arch/atomic.h>

struct __align(8) __spinlock {
Expand Down

0 comments on commit 9154ca7

Please sign in to comment.