Commit 1432cfe6 authored by Heiko Carstens's avatar Heiko Carstens Committed by Vasily Gorbik

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: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent 74b68448
...@@ -87,10 +87,10 @@ __setup("vdso=", vdso_setup); ...@@ -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)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment