diff options
author | Olaf Hering <olaf@aepfle.de> | 2012-07-17 05:57:41 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-07-19 15:52:03 -0400 |
commit | 4648da7cb4079e263eaf4dcd3b10fdb2409d4ad6 (patch) | |
tree | 4b014f4751b9195f3509022aeec61c75fcb13e11 /arch/x86/xen | |
parent | 38ad4f4b6cc713b3c42cb4252688ef5c296d7455 (diff) |
xen: remove cast from HYPERVISOR_shared_info assignment
Both have type struct shared_info so no cast is needed.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r-- | arch/x86/xen/enlighten.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 9c808693afa..affa94b29d0 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -108,7 +108,7 @@ EXPORT_SYMBOL_GPL(xen_have_vector_callback); | |||
108 | * Point at some empty memory to start with. We map the real shared_info | 108 | * Point at some empty memory to start with. We map the real shared_info |
109 | * page as soon as fixmap is up and running. | 109 | * page as soon as fixmap is up and running. |
110 | */ | 110 | */ |
111 | struct shared_info *HYPERVISOR_shared_info = (void *)&xen_dummy_shared_info; | 111 | struct shared_info *HYPERVISOR_shared_info = &xen_dummy_shared_info; |
112 | 112 | ||
113 | /* | 113 | /* |
114 | * Flag to determine whether vcpu info placement is available on all | 114 | * Flag to determine whether vcpu info placement is available on all |