Skip to content

Commit

Permalink
iommu/vt-d: Remove unused PASID_DISABLED
Browse files Browse the repository at this point in the history
The macro is unused after commit 00ecd54 so it can be removed.

Reported-by: Linus Torvalds <[email protected]>
Fixes: 00ecd54 ("iommu/vt-d: Clean up unused PASID updating functions")
Signed-off-by: Joerg Roedel <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
joergroedel committed Nov 26, 2021
1 parent 1360572 commit 21e96a2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/x86/include/asm/fpu/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 21e96a2

Please sign in to comment.