Skip to content

Commit

Permalink
cxl: Remove duplicate #defines
Browse files Browse the repository at this point in the history
These defines are not used, but other equivalent definitions
(CXL_SPA_SW_CMD_*) are used. Remove the unused defines.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
  • Loading branch information
Ian Munsie authored and Michael Ellerman committed May 11, 2016
1 parent 895a798 commit 0e5b5ba
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions drivers/misc/cxl/cxl.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,6 @@ static const cxl_p2n_reg_t CXL_PSL_WED_An = {0x0A0};
#define CXL_PSL_SR_An_MP (1ull << (63-62)) /* Master Process */
#define CXL_PSL_SR_An_LE (1ull << (63-63)) /* Little Endian */

/****** CXL_PSL_LLCMD_An ****************************************************/
#define CXL_LLCMD_TERMINATE 0x0001000000000000ULL
#define CXL_LLCMD_REMOVE 0x0002000000000000ULL
#define CXL_LLCMD_SUSPEND 0x0003000000000000ULL
#define CXL_LLCMD_RESUME 0x0004000000000000ULL
#define CXL_LLCMD_ADD 0x0005000000000000ULL
#define CXL_LLCMD_UPDATE 0x0006000000000000ULL
#define CXL_LLCMD_HANDLE_MASK 0x000000000000ffffULL

/****** CXL_PSL_ID_An ****************************************************/
#define CXL_PSL_ID_An_F (1ull << (63-31))
#define CXL_PSL_ID_An_L (1ull << (63-30))
Expand Down

0 comments on commit 0e5b5ba

Please sign in to comment.