Skip to content

Commit 526970b

Browse files
Peter Zijlstratorvalds
authored andcommitted
sh/mm: Fix pmd_t for real
Because typing is hard... Fixes: 0862ff0 ("sh/mm: Make pmd_t similar to pte_t") Reported-by: Guenter Roeck <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 5a41237 commit 526970b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/sh/include/asm/pgtable-3level.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define pmd_ERROR(e) \
2929
printk("%s:%d: bad pmd %016llx.\n", __FILE__, __LINE__, pmd_val(e))
3030

31-
typedef struct {
31+
typedef union {
3232
struct {
3333
unsigned long pmd_low;
3434
unsigned long pmd_high;

0 commit comments

Comments
 (0)