powerpc/eeh: Move PE state constants around
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Thu, 26 Mar 2015 05:42:07 +0000 (16:42 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 12 May 2015 10:33:35 +0000 (20:33 +1000)
commited3e81ff2016b180d8f439a1981f2c8b59b0b53c
treecd0f5d86d247ebd3a0cf9af8442386ea92391f48
parent38c0488770983b2654f075540cc1fc71f55b6df5
powerpc/eeh: Move PE state constants around

There are two equivalent sets of PE state constants, defined in
arch/powerpc/include/asm/eeh.h and include/uapi/linux/vfio.h.
Though the names are different, their corresponding values are
exactly same. The former is used by EEH core and the latter is
used by userspace.

The patch moves those constants from arch/powerpc/include/asm/eeh.h
to arch/powerpc/include/uapi/asm/eeh.h, which are expected to be
used by userspace from now on. We can't delete those constants in
vfio.h as it's uncertain that those constants have been or will be
used by userspace.

Suggested-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/eeh.h
arch/powerpc/include/uapi/asm/eeh.h [new file with mode: 0644]