From 6fd7f112250f495e73e650bf07b2597274676cc8 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 8 Nov 2023 18:18:11 -0700 Subject: [PATCH] src: Remove unnecessary semicolons from the end of macros Signed-off-by: Martin Roth Change-Id: Ia005915a05d02725f77b52ccd7acebefaf25d058 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78964 Reviewed-by: Julius Werner Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- src/arch/arm64/include/armv8/arch/barrier.h | 2 +- src/include/cpu/intel/l2_cache.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/arm64/include/armv8/arch/barrier.h b/src/arch/arm64/include/armv8/arch/barrier.h index 2be2bd3c83..00b9b6219a 100644 --- a/src/arch/arm64/include/armv8/arch/barrier.h +++ b/src/arch/arm64/include/armv8/arch/barrier.h @@ -24,7 +24,7 @@ #define barrier() __asm__ __volatile__("" : : : "memory") #endif -#define nop() asm volatile("nop"); +#define nop() asm volatile("nop") #define force_read(x) (*(volatile typeof(x) *)&(x)) diff --git a/src/include/cpu/intel/l2_cache.h b/src/include/cpu/intel/l2_cache.h index a859dfaf1e..7d256b4c06 100644 --- a/src/include/cpu/intel/l2_cache.h +++ b/src/include/cpu/intel/l2_cache.h @@ -44,7 +44,7 @@ #define BBLCR3_L2_SIZE_2M (0x08 << 13) #define BBLCR3_L2_SIZE_4M (0x10 << 13) /* bits [22:20] */ -#define BBLCR3_L2_PHYSICAL_RANGE (0x7 << 20); +#define BBLCR3_L2_PHYSICAL_RANGE (0x7 << 20) /* TODO: This bitmask does not agree with Intel's documentation. * Get confirmation one way or another. */