summaryrefslogtreecommitdiff
path: root/include/linux/tpm_eventlog.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-05-07 06:12:03 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-05-07 06:12:03 +0200
commit27997aca820b6a3ccdddc0fe522bb5c5e5e07d48 (patch)
treef5d76a19dae73ad8134e743d411caf5f984d95b7 /include/linux/tpm_eventlog.h
parentb74b62f806b6112138e89ea7d5616dac7c089cfa (diff)
parentce685b6a03dc0270f78bc7aaf2c9ada9cbd45a86 (diff)
Merge v6.18.27linux-rolling-lts
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tpm_eventlog.h')
-rw-r--r--include/linux/tpm_eventlog.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/tpm_eventlog.h b/include/linux/tpm_eventlog.h
index 891368e82558e..aff8ea2fa98e5 100644
--- a/include/linux/tpm_eventlog.h
+++ b/include/linux/tpm_eventlog.h
@@ -131,11 +131,16 @@ struct tcg_algorithm_info {
};
#ifndef TPM_MEMREMAP
-#define TPM_MEMREMAP(start, size) NULL
+static inline void *TPM_MEMREMAP(unsigned long start, size_t size)
+{
+ return NULL;
+}
#endif
#ifndef TPM_MEMUNMAP
-#define TPM_MEMUNMAP(start, size) do{} while(0)
+static inline void TPM_MEMUNMAP(void *mapping, size_t size)
+{
+}
#endif
/**