Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107284578
D34798.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D34798.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 12, 11:35 PM (20 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15773846
Default Alt Text
D34798.diff (1 KB)
Attached To
Mode
D34798: Remove checks for __GNUCLIKE___TYPEOF assuming it is always true.
Attached
Detach File
Event Timeline
Log In to Comment