]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/block/zram/zcomp.h
Merge tag 'iio-fixes-for-4.10a' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / drivers / block / zram / zcomp.h
index 478cac2ed46569c416c1474c4a007a2653f85a6d..41c1002a7d7dffc4ec0c458a0e0f1d68fb5f1a3a 100644 (file)
@@ -19,11 +19,12 @@ struct zcomp_strm {
 /* dynamic per-device compression frontend */
 struct zcomp {
        struct zcomp_strm * __percpu *stream;
-       struct notifier_block notifier;
-
        const char *name;
+       struct hlist_node node;
 };
 
+int zcomp_cpu_up_prepare(unsigned int cpu, struct hlist_node *node);
+int zcomp_cpu_dead(unsigned int cpu, struct hlist_node *node);
 ssize_t zcomp_available_show(const char *comp, char *buf);
 bool zcomp_available_algorithm(const char *comp);