diff options
author | Peter Zijlstra <peterz@infradead.org> | 2023-01-10 11:44:51 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-01-10 05:31:42 -0600 |
commit | 526970be53d5dd60122141540142fb0eeb0b22d8 (patch) | |
tree | ae5fe42eaeb64b83f239aeb8984fb6c8ec0cf49e | |
parent | 5a41237ad1d4b62008f93163af1d9b1da90729d8 (diff) | |
download | linux-stable-526970be53d5dd60122141540142fb0eeb0b22d8.tar.gz linux-stable-526970be53d5dd60122141540142fb0eeb0b22d8.tar.bz2 linux-stable-526970be53d5dd60122141540142fb0eeb0b22d8.zip |
sh/mm: Fix pmd_t for real
Because typing is hard...
Fixes: 0862ff059c9e ("sh/mm: Make pmd_t similar to pte_t")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | arch/sh/include/asm/pgtable-3level.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/pgtable-3level.h b/arch/sh/include/asm/pgtable-3level.h index a889a3a938ba..d1ce73f3bd85 100644 --- a/arch/sh/include/asm/pgtable-3level.h +++ b/arch/sh/include/asm/pgtable-3level.h @@ -28,7 +28,7 @@ #define pmd_ERROR(e) \ printk("%s:%d: bad pmd %016llx.\n", __FILE__, __LINE__, pmd_val(e)) -typedef struct { +typedef union { struct { unsigned long pmd_low; unsigned long pmd_high; |