diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-14 22:08:20 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:01:46 (GMT) |
commit | 5654e932262840f853233317689fc59536226d76 (patch) | |
tree | c527031d8e6060a3fe0da9d6daae8281b7173f49 /drivers/staging/hv/RingBuffer.h | |
parent | e20f683b6451a39619cd67e20d69597070aa8d17 (diff) | |
download | linux-fsl-qoriq-5654e932262840f853233317689fc59536226d76.tar.xz |
Staging: hv: remove UINT8 and INT8 typedefs
The UINT8 and INT8 typedefs are now removed from the Hyper-V driver
code.
Had to include <linux/kernel.h> in a few places to get the
build to work properly as well.
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/RingBuffer.h')
-rw-r--r-- | drivers/staging/hv/RingBuffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/RingBuffer.h b/drivers/staging/hv/RingBuffer.h index f62f3d7..a190b3a 100644 --- a/drivers/staging/hv/RingBuffer.h +++ b/drivers/staging/hv/RingBuffer.h @@ -37,12 +37,12 @@ typedef struct _RING_BUFFER { volatile UINT32 ReadIndex; // Offset in bytes from the start of ring data below volatile UINT32 InterruptMask; - UINT8 Reserved[4084]; // Pad it to PAGE_SIZE so that data starts on page boundary + u8 Reserved[4084]; // Pad it to PAGE_SIZE so that data starts on page boundary // NOTE: The InterruptMask field is used only for channels but since our vmbus connection // also uses this data structure and its data starts here, we commented out this field. // volatile UINT32 InterruptMask; // Ring data starts here + RingDataStartOffset !!! DO NOT place any fields below this !!! - UINT8 Buffer[0]; + u8 Buffer[0]; } STRUCT_PACKED RING_BUFFER; typedef struct _RING_BUFFER_INFO { |