Skip to content

Commit f4c0cd1

Browse files
jallen-amdbp3tk0v
authored andcommitted
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 <john.allen@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240606203313.51197-7-john.allen@amd.com
1 parent e0372d6 commit f4c0cd1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/ras/amd/fmpm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@
5656

5757
#include "../debugfs.h"
5858

59+
#include "atl/internal.h"
60+
5961
#define INVALID_CPU UINT_MAX
6062

6163
/* Validation Bits */
@@ -116,8 +118,6 @@ static struct fru_rec **fru_records;
116118
/* system physical addresses array */
117119
static u64 *spa_entries;
118120

119-
#define INVALID_SPA ~0ULL
120-
121121
static struct dentry *fmpm_dfs_dir;
122122
static struct dentry *fmpm_dfs_entries;
123123

0 commit comments

Comments
 (0)