aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-02-10 18:44:59 +0100
committerTakashi Iwai <tiwai@suse.de>2014-02-10 18:44:59 +0100
commitd4d0d86f8d3c8cea3e7f5d48f1922dacfe8c9731 (patch)
tree650490e33c2362a22dbdf611e3fea5ff5a107617
parent083527b4ce9a1c5b9ad4dd115235e4818630fefe (diff)
downloadhda-emu-d4d0d86f8d3c8cea3e7f5d48f1922dacfe8c9731.tar.gz
Add IS_MODULE() and IS_BUILTIN() macros
... in addition to the dummy symbol_put_addr() wrapper.
-rw-r--r--include/wrapper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wrapper.h b/include/wrapper.h
index 83741bb..87f5120 100644
--- a/include/wrapper.h
+++ b/include/wrapper.h
@@ -241,9 +241,12 @@ void mylock_write_unlock(int *lock, const char *file, int line);
/* FIXME */
#define IS_ENABLED(x) 1
+#define IS_BUILTIN(x) 1
+#define IS_MODULE(x) 0
#define symbol_request(x) x
#define symbol_put(x)
+#define symbol_put_addr(x)
static inline long copy_from_user(void *to, const void __user *from, unsigned long n)
{