From: John Allen Date: Thu, 6 Jun 2024 20:33:13 +0000 (+0000) Subject: RAS/AMD/FMPM: Use atl internal.h for INVALID_SPA X-Git-Tag: v6.11-rc1~204^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f4c0cd1870afd57181e8087c6cf8da3d7fa2cebe;p=thirdparty%2Flinux.git RAS/AMD/FMPM: Use atl internal.h for INVALID_SPA Both the AMD ATL and the FMPM driver define INVALID_SPA. Include the definition from the ATL internal.h header in the FMPM driver. Signed-off-by: John Allen Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/r/20240606203313.51197-7-john.allen@amd.com --- diff --git a/drivers/ras/amd/fmpm.c b/drivers/ras/amd/fmpm.c index 271dfad05d683..90de737fbc909 100644 --- a/drivers/ras/amd/fmpm.c +++ b/drivers/ras/amd/fmpm.c @@ -56,6 +56,8 @@ #include "../debugfs.h" +#include "atl/internal.h" + #define INVALID_CPU UINT_MAX /* Validation Bits */ @@ -116,8 +118,6 @@ static struct fru_rec **fru_records; /* system physical addresses array */ static u64 *spa_entries; -#define INVALID_SPA ~0ULL - static struct dentry *fmpm_dfs_dir; static struct dentry *fmpm_dfs_entries;