Staging: hv: coding style cleanups for HvStatus.h

Ugh, what a mess, it's all better now.

Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Greg Kroah-Hartman 2009-08-20 12:14:11 -07:00
parent 6658be6ad7
commit 034469e633
3 changed files with 494 additions and 706 deletions

View File

@ -384,12 +384,9 @@ Description:
involves a hypercall.
--*/
HV_STATUS HvPostMessage(
union hv_connection_id connectionId,
enum hv_message_type messageType,
void * payload,
size_t payloadSize
)
u16 HvPostMessage(union hv_connection_id connectionId,
enum hv_message_type messageType,
void *payload, size_t payloadSize)
{
struct alignedInput {
u64 alignment8;
@ -397,7 +394,7 @@ HV_STATUS HvPostMessage(
};
struct hv_input_post_message *alignedMsg;
HV_STATUS status;
u16 status;
unsigned long addr;
if (payloadSize > HV_MESSAGE_PAYLOAD_BYTE_COUNT)
@ -437,9 +434,9 @@ Description:
involves a hypercall.
--*/
HV_STATUS HvSignalEvent(void)
u16 HvSignalEvent(void)
{
HV_STATUS status;
u16 status;
status = HvDoHypercall(HvCallSignalEvent, gHvContext.SignalEventParam, NULL) & 0xFFFF;

View File

@ -132,12 +132,11 @@ extern int HvInit(void);
extern void HvCleanup(void);
extern HV_STATUS HvPostMessage(union hv_connection_id connectionId,
enum hv_message_type messageType,
void *payload,
size_t payloadSize);
extern u16 HvPostMessage(union hv_connection_id connectionId,
enum hv_message_type messageType,
void *payload, size_t payloadSize);
extern HV_STATUS HvSignalEvent(void);
extern u16 HvSignalEvent(void);
extern int HvSynicInit(u32 irqVector);

File diff suppressed because it is too large Load Diff