staging/hv/osd: don't reimplement ALIGN macro
[deliverable/linux.git] / drivers / staging / hv / hv.c
index a34d713d9c5766f40c86b08fc27973bcefd18796..021acbaae247d241d1732b6fa6265b197ef48144 100644 (file)
@@ -267,7 +267,7 @@ int hv_init(void)
 
        hv_context.signal_event_param =
                (struct hv_input_signal_event *)
-                       (ALIGN_UP((unsigned long)
+                       (ALIGN((unsigned long)
                                  hv_context.signal_event_buffer,
                                  HV_HYPERCALL_PARAM_ALIGN));
        hv_context.signal_event_param->connectionid.asu32 = 0;
@@ -338,7 +338,7 @@ u16 hv_post_message(union hv_connection_id connection_id,
                return -1;
 
        aligned_msg = (struct hv_input_post_message *)
-                       (ALIGN_UP(addr, HV_HYPERCALL_PARAM_ALIGN));
+                       (ALIGN(addr, HV_HYPERCALL_PARAM_ALIGN));
 
        aligned_msg->connectionid = connection_id;
        aligned_msg->message_type = message_type;
This page took 0.025081 seconds and 5 git commands to generate.