aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorAnnie Li <annie.li@oracle.com>2011-11-21 20:59:56 -0500
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-11-22 09:26:20 -0500
commitc123799a41bf466ce5b199331aac4c1f28f67ec3 (patch)
tree6c617cf8857bf1e698d0765d3808212859a4d2e5 /drivers/xen
parent85ff6acb075a484780b3d763fdf41596d8fc0970 (diff)
xen/granttable: Keep code format clean
Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Annie Li <annie.li@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/grant-table.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c
index 301869f60dc7..bd325fd0000b 100644
--- a/drivers/xen/grant-table.c
+++ b/drivers/xen/grant-table.c
@@ -50,7 +50,6 @@
50#include <asm/pgtable.h> 50#include <asm/pgtable.h>
51#include <asm/sync_bitops.h> 51#include <asm/sync_bitops.h>
52 52
53
54/* External tools reserve first few grant table entries. */ 53/* External tools reserve first few grant table entries. */
55#define NR_RESERVED_ENTRIES 8 54#define NR_RESERVED_ENTRIES 8
56#define GNTTAB_LIST_END 0xffffffff 55#define GNTTAB_LIST_END 0xffffffff
@@ -598,8 +597,8 @@ unsigned int gnttab_max_grant_frames(void)
598EXPORT_SYMBOL_GPL(gnttab_max_grant_frames); 597EXPORT_SYMBOL_GPL(gnttab_max_grant_frames);
599 598
600int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops, 599int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops,
601 struct gnttab_map_grant_ref *kmap_ops, 600 struct gnttab_map_grant_ref *kmap_ops,
602 struct page **pages, unsigned int count) 601 struct page **pages, unsigned int count)
603{ 602{
604 int i, ret; 603 int i, ret;
605 pte_t *pte; 604 pte_t *pte;
@@ -649,7 +648,7 @@ int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops,
649EXPORT_SYMBOL_GPL(gnttab_map_refs); 648EXPORT_SYMBOL_GPL(gnttab_map_refs);
650 649
651int gnttab_unmap_refs(struct gnttab_unmap_grant_ref *unmap_ops, 650int gnttab_unmap_refs(struct gnttab_unmap_grant_ref *unmap_ops,
652 struct page **pages, unsigned int count) 651 struct page **pages, unsigned int count)
653{ 652{
654 int i, ret; 653 int i, ret;
655 654