Removed the extra info struct in the cpu_ent union and made said union a struct instead. Same as r1137 in NewOS.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17273 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2006-04-29 22:38:19 +00:00
parent 2a03240eb1
commit 17fee3eab7
6 changed files with 32 additions and 34 deletions
+10 -12
View File
@@ -16,21 +16,19 @@
/* CPU local data structure */
typedef union cpu_ent {
struct {
int cpu_num;
typedef struct cpu_ent {
int cpu_num;
// thread.c: used to force a reschedule at quantum expiration time
int preempted;
timer quantum_timer;
// thread.c: used to force a reschedule at quantum expiration time
int preempted;
timer quantum_timer;
// keeping track of CPU activity
bigtime_t active_time;
bigtime_t last_kernel_time;
bigtime_t last_user_time;
// keeping track of CPU activity
bigtime_t active_time;
bigtime_t last_kernel_time;
bigtime_t last_user_time;
bool disabled;
} info;
bool disabled;
} cpu_ent __attribute__((aligned(64)));