summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/tce.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-07-08 16:37:13 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-07-17 16:42:47 +1000
commit08acce1cab7c80f38169435c0a122369f07f12e8 (patch)
treebd47761945509143f50b211fe625d6c4dda98963 /arch/powerpc/include/asm/tce.h
parenta34ab7c328b969d9f841e7887f6be3cc45b5202e (diff)
powerpc/powernv/pci: Remove SWINV constants and obsolete TCE code
We have some obsolete code in pnv_pci_p7ioc_tce_invalidate() to handle some internal lab tools that have stopped being useful a long time ago. Remove that along with the definition and test for the TCE_PCI_SWINV_* flags whose value is basically always the same. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/tce.h')
-rw-r--r--arch/powerpc/include/asm/tce.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/tce.h b/arch/powerpc/include/asm/tce.h
index 743f36b38e5d..12e362935160 100644
--- a/arch/powerpc/include/asm/tce.h
+++ b/arch/powerpc/include/asm/tce.h
@@ -31,9 +31,6 @@
*/
#define TCE_VB 0
#define TCE_PCI 1
-#define TCE_PCI_SWINV_CREATE 2
-#define TCE_PCI_SWINV_FREE 4
-#define TCE_PCI_SWINV_PAIR 8
/* TCE page size is 4096 bytes (1 << 12) */