Page MenuHomeFreeBSD

D34798.id104916.diff
No OneTemporary

D34798.id104916.diff

diff --git a/sys/amd64/include/pcpu.h b/sys/amd64/include/pcpu.h
--- a/sys/amd64/include/pcpu.h
+++ b/sys/amd64/include/pcpu.h
@@ -109,8 +109,6 @@
#define MONITOR_STOPSTATE_RUNNING 0
#define MONITOR_STOPSTATE_STOPPED 1
-#if defined(__GNUCLIKE___TYPEOF)
-
/*
* Evaluates to the byte offset of the per-cpu variable name.
*/
@@ -277,12 +275,6 @@
} \
} while (0);
-#else /* !__GNUCLIKE___TYPEOF */
-
-#error "this file needs to be ported to your compiler"
-
-#endif /* __GNUCLIKE___TYPEOF */
-
#endif /* _KERNEL */
#endif /* !_MACHINE_PCPU_H_ */
diff --git a/sys/i386/include/pcpu.h b/sys/i386/include/pcpu.h
--- a/sys/i386/include/pcpu.h
+++ b/sys/i386/include/pcpu.h
@@ -99,8 +99,6 @@
#define MONITOR_STOPSTATE_RUNNING 0
#define MONITOR_STOPSTATE_STOPPED 1
-#if defined(__GNUCLIKE___TYPEOF)
-
/*
* Evaluates to the byte offset of the per-cpu variable name.
*/
@@ -206,12 +204,6 @@
#define IS_BSP() (PCPU_GET(cpuid) == 0)
-#else /* defined(__GNUCLIKE___TYPEOF) */
-
-#error "this file needs to be ported to your compiler"
-
-#endif /* __GNUCLIKE___TYPEOF */
-
#endif /* _KERNEL */
#endif /* !_MACHINE_PCPU_H_ */

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 13, 1:43 AM (20 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15773846
Default Alt Text
D34798.id104916.diff (1 KB)

Event Timeline