[PATCH 1/6] powerpc/eeh: Refactor EEH flag accessors
David Laight
David.Laight at ACULAB.COM
Wed Jul 16 18:24:49 EST 2014
From: Gavin Shan
> There are multiple global EEH flags. Almost each flag has its own
> accessor, which doesn't make sense. The patch refactors EEH flag
> accessors so that they look unified:
>
> eeh_add_flag(): Add EEH flag
eeh_set_flag() ??
> eeh_clear_flag(): Clear EEH flag
> eeh_has_flag(): Check if one specific flag has been set
Personally I find these sort of 'accessor' functions rather pointless.
David
More information about the Linuxppc-dev
mailing list