aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/page.c
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
commit8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch)
treea8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /net/rds/page.c
parent406089d01562f1e2bf9f089fd7637009ebaad589 (diff)
Patched in Tegra support.
Diffstat (limited to 'net/rds/page.c')
-rw-r--r--net/rds/page.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/net/rds/page.c b/net/rds/page.c
index 9005a2c920e..b82d63e77b0 100644
--- a/net/rds/page.c
+++ b/net/rds/page.c
@@ -33,7 +33,6 @@
33#include <linux/highmem.h> 33#include <linux/highmem.h>
34#include <linux/gfp.h> 34#include <linux/gfp.h>
35#include <linux/cpu.h> 35#include <linux/cpu.h>
36#include <linux/export.h>
37 36
38#include "rds.h" 37#include "rds.h"
39 38
@@ -74,12 +73,11 @@ int rds_page_copy_user(struct page *page, unsigned long offset,
74} 73}
75EXPORT_SYMBOL_GPL(rds_page_copy_user); 74EXPORT_SYMBOL_GPL(rds_page_copy_user);
76 75
77/** 76/*
78 * rds_page_remainder_alloc - build up regions of a message. 77 * Message allocation uses this to build up regions of a message.
79 * 78 *
80 * @scat: Scatter list for message 79 * @bytes - the number of bytes needed.
81 * @bytes: the number of bytes needed. 80 * @gfp - the waiting behaviour of the allocation
82 * @gfp: the waiting behaviour of the allocation
83 * 81 *
84 * @gfp is always ored with __GFP_HIGHMEM. Callers must be prepared to 82 * @gfp is always ored with __GFP_HIGHMEM. Callers must be prepared to
85 * kmap the pages, etc. 83 * kmap the pages, etc.