]> err.no Git - linux-2.6/blobdiff - net/sctp/ssnmap.c
[PATCH] sunrpc: cache_register can use wrong module reference
[linux-2.6] / net / sctp / ssnmap.c
index e627d2b451b608e35d5b285722ad83bc2552345f..25037daf3fa0ca1542ee34265acfd77794541840 100644 (file)
@@ -57,7 +57,8 @@ static inline size_t sctp_ssnmap_size(__u16 in, __u16 out)
 /* Create a new sctp_ssnmap.
  * Allocate room to store at least 'len' contiguous TSNs.
  */
-struct sctp_ssnmap *sctp_ssnmap_new(__u16 in, __u16 out, int gfp)
+struct sctp_ssnmap *sctp_ssnmap_new(__u16 in, __u16 out,
+                                   unsigned int __nocast gfp)
 {
        struct sctp_ssnmap *retval;
        int size;