]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/s390/kvm/kvm_virtio.c
[S390] Cleanup struct _lowcore usage and defines.
[net-next-2.6.git] / drivers / s390 / kvm / kvm_virtio.c
index 2930fc763ac565957bff662d91b6747cee192801..b2fc4fd63f7f09b1be3ee84ac90d12287e6ec99e 100644 (file)
@@ -340,11 +340,11 @@ static void kvm_extint_handler(u16 code)
                return;
 
        /* The LSB might be overloaded, we have to mask it */
-       vq = (struct virtqueue *) ((*(long *) __LC_PFAULT_INTPARM) & ~1UL);
+       vq = (struct virtqueue *)(S390_lowcore.ext_params2 & ~1UL);
 
        /* We use the LSB of extparam, to decide, if this interrupt is a config
         * change or a "standard" interrupt */
-       config_changed =  (*(int *)  __LC_EXT_PARAMS & 1);
+       config_changed = S390_lowcore.ext_params & 1;
 
        if (config_changed) {
                struct virtio_driver *drv;