Skip to content

Commit 21e96a2

Browse files
committed
iommu/vt-d: Remove unused PASID_DISABLED
The macro is unused after commit 00ecd54 so it can be removed. Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Fixes: 00ecd54 ("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
1 parent 1360572 commit 21e96a2

File tree

1 file changed

+0
-6
lines changed
  • arch/x86/include/asm/fpu

1 file changed

+0
-6
lines changed

arch/x86/include/asm/fpu/api.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,6 @@ extern void switch_fpu_return(void);
102102
*/
103103
extern int cpu_has_xfeatures(u64 xfeatures_mask, const char **feature_name);
104104

105-
/*
106-
* Tasks that are not using SVA have mm->pasid set to zero to note that they
107-
* will not have the valid bit set in MSR_IA32_PASID while they are running.
108-
*/
109-
#define PASID_DISABLED 0
110-
111105
/* Trap handling */
112106
extern int fpu__exception_code(struct fpu *fpu, int trap_nr);
113107
extern void fpu_sync_fpstate(struct fpu *fpu);

0 commit comments

Comments
 (0)