summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/hv/logging.h')
-rw-r--r--drivers/staging/hv/logging.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/hv/logging.h b/drivers/staging/hv/logging.h
index 20d4d12023de..17999515ce08 100644
--- a/drivers/staging/hv/logging.h
+++ b/drivers/staging/hv/logging.h
@@ -25,6 +25,9 @@
#ifndef _LOGGING_H_
#define _LOGGING_H_
+#define LOWORD(dw) ((unsigned short)(dw))
+#define HIWORD(dw) ((unsigned short)(((unsigned int) (dw) >> 16) & 0xFFFF))
+
/* #include <linux/init.h> */
/* #include <linux/module.h> */