Skip to contentSkip to conversation

x86/mem_access: Fix up mem_access.h

PATCH In review Aravindh Puthiyaparambil 2 participants 2 messages Apr 9, 2014 – Apr 13, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/mem_access: Fix up mem_access.h

Fix filename in the description
Add double inclusion guard

xen/include/asm-x86/mem_access.h +4 -1
index 88ae3fc..60c2834 100644
@@ -1,5 +1,5 @@
 /******************************************************************************
- * include/asm-x86/mem_paging.h
+ * include/asm-x86/mem_access.h
  *
  * Memory access support.
  *
@@ -20,10 +20,13 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#ifndef _XEN_ASM_MEM_ACCESS_H
+#define _XEN_ASM_MEM_ACCESS_H
 
 int mem_access_memop(struct domain *d, xen_mem_event_op_t *meo);
 int mem_access_send_req(struct domain *d, mem_event_request_t *req);
 
+#endif /* _XEN_ASM_MEM_ACCESS_H */
 
 /*
  * Local variables:
Signature · 1 line
1.8.3.2
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Aravindh Puthiyaparambil

Fix filename in the description
Add double inclusion guard

I'm (mostly) AFK this week; I'll commit this next week if nobody else does in the meantime.

Cheers,

Tim.

Quoted 28 lines
xen/include/asm-x86/mem_access.h +4 -1
index 88ae3fc..60c2834 100644
@@ -1,5 +1,5 @@
 /******************************************************************************
- * include/asm-x86/mem_paging.h
+ * include/asm-x86/mem_access.h
  *
  * Memory access support.
  *
@@ -20,10 +20,13 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#ifndef _XEN_ASM_MEM_ACCESS_H
+#define _XEN_ASM_MEM_ACCESS_H
 
 int mem_access_memop(struct domain *d, xen_mem_event_op_t *meo);
 int mem_access_send_req(struct domain *d, mem_event_request_t *req);
 
+#endif /* _XEN_ASM_MEM_ACCESS_H */
 
 /*
  * Local variables:
Signature · 1 line
1.8.3.2