]> git.itanic.dy.fi Git - linux-stable/commitdiff
iommu/vt-d: Remove unused PASID_DISABLED
authorJoerg Roedel <jroedel@suse.de>
Tue, 23 Nov 2021 10:55:06 +0000 (11:55 +0100)
committerJoerg Roedel <jroedel@suse.de>
Fri, 26 Nov 2021 21:54:20 +0000 (22:54 +0100)
The macro is unused after commit 00ecd5401349a so it can be removed.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Fixes: 00ecd5401349a ("iommu/vt-d: Clean up unused PASID updating functions")
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20211123105507.7654-2-joro@8bytes.org
arch/x86/include/asm/fpu/api.h

index 6053674f91320a0fceaedb5af18bb861ad42b968..c2767a6a387e7375a86994914d27f418b23effcb 100644 (file)
@@ -102,12 +102,6 @@ extern void switch_fpu_return(void);
  */
 extern int cpu_has_xfeatures(u64 xfeatures_mask, const char **feature_name);
 
-/*
- * Tasks that are not using SVA have mm->pasid set to zero to note that they
- * will not have the valid bit set in MSR_IA32_PASID while they are running.
- */
-#define PASID_DISABLED 0
-
 /* Trap handling */
 extern int  fpu__exception_code(struct fpu *fpu, int trap_nr);
 extern void fpu_sync_fpstate(struct fpu *fpu);