block: use linux/uaccess.h in elevator.c instead of asm variant

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
Jens Axboe 2008-08-26 09:15:47 +02:00
parent 3e1a7ff8a0
commit 0835da67c1

View File

@ -34,8 +34,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/blktrace_api.h> #include <linux/blktrace_api.h>
#include <linux/hash.h> #include <linux/hash.h>
#include <linux/uaccess.h>
#include <asm/uaccess.h>
static DEFINE_SPINLOCK(elv_list_lock); static DEFINE_SPINLOCK(elv_list_lock);
static LIST_HEAD(elv_list); static LIST_HEAD(elv_list);