summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/eeh.h
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2019-02-15 01:48:11 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2019-02-21 14:10:14 +0100
commit46ee7c3c5212b0f4f8713d60cfd595721efdf0d3 (patch)
treec7d8f9145d041b1d4c79f401eac023f97558b24c /arch/powerpc/include/asm/eeh.h
parentpowerpc: drop unused GENERIC_CSUM Kconfig item (diff)
downloadlinux-46ee7c3c5212b0f4f8713d60cfd595721efdf0d3.tar.xz
linux-46ee7c3c5212b0f4f8713d60cfd595721efdf0d3.zip
powerpc/eeh: Use debugfs_create_u32 for eeh_max_freezes
There's no need to the custom getter/setter functions so we should remove them in favour of using the generic one. While we're here, change the type of eeh_max_freeze to u32 and print the value in decimal rather than hex because printing it in hex makes no sense. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Reviewed-by: Sam Bobroff <sbobroff@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/eeh.h')
-rw-r--r--arch/powerpc/include/asm/eeh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/eeh.h b/arch/powerpc/include/asm/eeh.h
index 0b655810f32d..f3b3c3537792 100644
--- a/arch/powerpc/include/asm/eeh.h
+++ b/arch/powerpc/include/asm/eeh.h
@@ -219,7 +219,7 @@ struct eeh_ops {
};
extern int eeh_subsystem_flags;
-extern int eeh_max_freezes;
+extern u32 eeh_max_freezes;
extern struct eeh_ops *eeh_ops;
extern raw_spinlock_t confirm_error_lock;