summaryrefslogtreecommitdiff
path: root/drivers/misc/cxl/cxl.h
diff options
context:
space:
mode:
authorAlastair D'Silva <alastair@d-silva.org>2018-06-28 12:05:00 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-02 23:54:30 +1000
commitc5828150067c47a97f30e690a472e0548d3ac97d (patch)
tree0057a133e3b09a65fb4ced567170e8f689075198 /drivers/misc/cxl/cxl.h
parent7dea6f2f053599d90f7894216db0dd0bedeb3a1c (diff)
downloadlwn-c5828150067c47a97f30e690a472e0548d3ac97d.tar.gz
lwn-c5828150067c47a97f30e690a472e0548d3ac97d.zip
Revert "cxl: Add kernel API to allow a context to operate with relocate disabled"
Remove abandonned capi support for the Mellanox CX4. The symbol 'cxl_set_translation_mode' is never called, so ctx->real_mode is always false. This reverts commit 7a0d85d313c2066712e530e668bc02bb741a685c. Signed-off-by: Alastair D'Silva <alastair@d-silva.org> Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/misc/cxl/cxl.h')
-rw-r--r--drivers/misc/cxl/cxl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/cxl/cxl.h b/drivers/misc/cxl/cxl.h
index 918d4fb742d1..af8794719956 100644
--- a/drivers/misc/cxl/cxl.h
+++ b/drivers/misc/cxl/cxl.h
@@ -613,7 +613,6 @@ struct cxl_context {
bool pe_inserted;
bool master;
bool kernel;
- bool real_mode;
bool pending_irq;
bool pending_fault;
bool pending_afu_err;