Index: lm-sensors-3.6.0/prog/dump/isadump.c
===================================================================
--- lm-sensors-3.6.0.orig/prog/dump/isadump.c
+++ lm-sensors-3.6.0/prog/dump/isadump.c
@@ -245,7 +245,7 @@ int main(int argc, char *argv[])
 		}
 	}
 
-#ifndef __powerpc__
+#if !defined(__powerpc__) && defined(__linux__)
 	if ((datareg < 0x400) && (addrreg < 0x400) && !flat) {
 		if (ioperm(datareg, 1, 1)) {
 			fprintf(stderr, "Error: Could not ioperm() data "
Index: lm-sensors-3.6.0/prog/dump/isaset.c
===================================================================
--- lm-sensors-3.6.0.orig/prog/dump/isaset.c
+++ lm-sensors-3.6.0/prog/dump/isaset.c
@@ -188,7 +188,7 @@ int main(int argc, char *argv[])
 		}
 	}
 
-#ifndef __powerpc__
+#if !defined(__powerpc__) && defined(__linux__)
 	if (!flat && datareg < 0x400 && addrreg < 0x400) {
 		if (ioperm(datareg, 1, 1)) {
 			fprintf(stderr, "Error: Could not ioperm() data "
