X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fscsi%2Flibsas.h;h=0c775fceb675b052bece78b80c885aaf64f0723e;hb=ffaa82008f1aad52a6d3979f49d2a76c2928b60f;hp=9233ed5de664625f0d780974b1be17047c728d22;hpb=359f2d17e32b32f53577375f83fb06d34e31bfe8;p=powerpc.git diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h index 9233ed5de6..0c775fceb6 100644 --- a/include/scsi/libsas.h +++ b/include/scsi/libsas.h @@ -557,7 +557,7 @@ struct sas_task { static inline struct sas_task *sas_alloc_task(gfp_t flags) { - extern kmem_cache_t *sas_task_cache; + extern struct kmem_cache *sas_task_cache; struct sas_task *task = kmem_cache_alloc(sas_task_cache, flags); if (task) { @@ -575,7 +575,7 @@ static inline struct sas_task *sas_alloc_task(gfp_t flags) static inline void sas_free_task(struct sas_task *task) { if (task) { - extern kmem_cache_t *sas_task_cache; + extern struct kmem_cache *sas_task_cache; BUG_ON(!list_empty(&task->list)); kmem_cache_free(sas_task_cache, task); }