mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-17 03:58:36 +00:00
s390/vdso: fix vdso data page definition
The vdso data page actually contains an array. Fix that. This doesn't fix a real bug, just reflects reality. Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
74b6844803
commit
1432cfe69e
1 changed files with 2 additions and 2 deletions
|
@ -87,10 +87,10 @@ __setup("vdso=", vdso_setup);
|
||||||
* The vdso data page
|
* The vdso data page
|
||||||
*/
|
*/
|
||||||
static union {
|
static union {
|
||||||
struct vdso_data data;
|
struct vdso_data data[CS_BASES];
|
||||||
u8 page[PAGE_SIZE];
|
u8 page[PAGE_SIZE];
|
||||||
} vdso_data_store __page_aligned_data;
|
} vdso_data_store __page_aligned_data;
|
||||||
struct vdso_data *vdso_data = (struct vdso_data *)&vdso_data_store.data;
|
struct vdso_data *vdso_data = vdso_data_store.data;
|
||||||
|
|
||||||
void vdso_getcpu_init(void)
|
void vdso_getcpu_init(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue