Commit fa1ada78 authored by Alexey Kardashevskiy's avatar Alexey Kardashevskiy Committed by Michael Ellerman

powerpc/powernv/npu: Remove unused headers and a macro.

The macro and few headers are not used so remove them.
Signed-off-by: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
Acked-by: default avatarAlistair Popple <alistair@popple.id.au>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent bdbf649e
...@@ -9,32 +9,19 @@ ...@@ -9,32 +9,19 @@
* License as published by the Free Software Foundation. * License as published by the Free Software Foundation.
*/ */
#include <linux/slab.h>
#include <linux/mmu_notifier.h> #include <linux/mmu_notifier.h>
#include <linux/mmu_context.h> #include <linux/mmu_context.h>
#include <linux/of.h> #include <linux/of.h>
#include <linux/export.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/memblock.h> #include <linux/memblock.h>
#include <linux/iommu.h>
#include <linux/sizes.h> #include <linux/sizes.h>
#include <asm/debugfs.h> #include <asm/debugfs.h>
#include <asm/tlb.h>
#include <asm/powernv.h> #include <asm/powernv.h>
#include <asm/reg.h>
#include <asm/opal.h>
#include <asm/io.h>
#include <asm/iommu.h>
#include <asm/pnv-pci.h>
#include <asm/msi_bitmap.h>
#include <asm/opal.h> #include <asm/opal.h>
#include "powernv.h"
#include "pci.h" #include "pci.h"
#define npu_to_phb(x) container_of(x, struct pnv_phb, npu)
/* /*
* spinlock to protect initialisation of an npu_context for a particular * spinlock to protect initialisation of an npu_context for a particular
* mm_struct. * mm_struct.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment