]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/i386-io-linux.h
lspci: Add support for CXL MLD DVSEC
[pciutils.git] / lib / i386-io-linux.h
index 1e52d73d8e26308bdef9f863f725b88803e1af37..731e8e3b93872013d26fcaf3acf13669d1b0e7b1 100644 (file)
@@ -14,9 +14,16 @@ intel_setup_io(struct pci_access *a UNUSED)
   return (iopl(3) < 0) ? 0 : 1;
 }
 
-static inline int
+static inline void
 intel_cleanup_io(struct pci_access *a UNUSED)
 {
-  iopl(3);
-  return -1;
+  iopl(0);
+}
+
+static inline void intel_io_lock(void)
+{
+}
+
+static inline void intel_io_unlock(void)
+{
 }