mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-31 11:14:09 +03:00
Commit bulk of remaining 2.6.9 and 2.6.26 compat changes.
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@155 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
This commit is contained in:
@@ -37,7 +37,6 @@ extern "C" {
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/kthread.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/kmem.h>
|
||||
|
||||
#define TASKQ_NAMELEN 31
|
||||
|
||||
@@ -60,14 +59,6 @@ typedef void (task_func_t)(void *);
|
||||
#define TQ_NEW 0x04000000
|
||||
#define TQ_ACTIVE 0x80000000
|
||||
|
||||
typedef struct task {
|
||||
spinlock_t t_lock;
|
||||
struct list_head t_list;
|
||||
taskqid_t t_id;
|
||||
task_func_t *t_func;
|
||||
void *t_arg;
|
||||
} task_t;
|
||||
|
||||
typedef struct taskq {
|
||||
spinlock_t tq_lock; /* protects taskq_t */
|
||||
struct task_struct **tq_threads; /* thread pointers */
|
||||
|
||||
Reference in New Issue
Block a user