[S390] Get rid of cpuid.h header file.
Merge cpuid.h header file into cpu.h. While at it convert from typedef to struct declaration and also convert cio code to use proper lowcore structure instead of casts. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:

committed by
Martin Schwidefsky

parent
4bb5e07b68
commit
e86a6ed63f
@@ -657,8 +657,8 @@ css_generate_pgid(struct channel_subsystem *css, u32 tod_high)
|
||||
css->global_pgid.pgid_high.cpu_addr = 0;
|
||||
#endif
|
||||
}
|
||||
css->global_pgid.cpu_id = ((cpuid_t *) __LC_CPUID)->ident;
|
||||
css->global_pgid.cpu_model = ((cpuid_t *) __LC_CPUID)->machine;
|
||||
css->global_pgid.cpu_id = S390_lowcore.cpu_id.ident;
|
||||
css->global_pgid.cpu_model = S390_lowcore.cpu_id.machine;
|
||||
css->global_pgid.tod_high = tod_high;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user