forked from MIrrors/gasket-driver
staging: gasket: remove unnecessary defines
Change-Id: I3c2a2c435671b6a41d9294d444e9200aae13b30b Signed-off-by: Leonid Lobachev <leonidl@google.com>
This commit is contained in:
@@ -18,12 +18,6 @@
|
|||||||
#include <linux/sched.h>
|
#include <linux/sched.h>
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
|
|
||||||
#define writeq_relaxed writeq
|
|
||||||
#define writeq(__value, __reg) \
|
|
||||||
(*(volatile u64 __force *)(__reg) = (cpu_to_le64(__value)))
|
|
||||||
#define readq_relaxed readq
|
|
||||||
#define readq(__reg) le64_to_cpu(*(volatile u64 __force *)(__reg))
|
|
||||||
|
|
||||||
#include "gasket_constants.h"
|
#include "gasket_constants.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user