summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/linux/k_compat.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
commita2277b6bc715464e83882b90c2a058139b8a6b54 (patch)
treeab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /klaptopdaemon/linux/k_compat.h
parentd3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff)
downloadtdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz
tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klaptopdaemon/linux/k_compat.h')
-rw-r--r--klaptopdaemon/linux/k_compat.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/klaptopdaemon/linux/k_compat.h b/klaptopdaemon/linux/k_compat.h
index 2b14312..d18eaa5 100644
--- a/klaptopdaemon/linux/k_compat.h
+++ b/klaptopdaemon/linux/k_compat.h
@@ -124,19 +124,19 @@
#endif
#if (LINUX_VERSION_CODE < VERSION(2,1,51))
-#define INVALIDATE_INODES(r) invalidate_inodes(r)
+#define INVALIDATE_INODES(r) tqinvalidate_inodes(r)
#else
#define INVALIDATE_INODES(r) \
do { struct super_block *sb = get_super(r); \
- if (sb) invalidate_inodes(sb); } while (0)
+ if (sb) tqinvalidate_inodes(sb); } while (0)
#endif
#if (LINUX_VERSION_CODE < VERSION(2,1,60))
-#define IRQ_MAP(irq, dev) irq2dev_map[irq] = dev
+#define IRTQ_MAP(irq, dev) irq2dev_map[irq] = dev
#define FOPS(i,f,b,c,p) (i,f,b,c)
#define FPOS (file->f_pos)
#else
-#define IRQ_MAP(irq, dev) while (0)
+#define IRTQ_MAP(irq, dev) while (0)
#define FOPS(i,f,b,c,p) (f,b,c,p)
#define FPOS (*ppos)
#endif
@@ -240,7 +240,7 @@
#endif
typedef unsigned long k_time_t;
-#define ACQUIRE_RESOURCE_LOCK do {} while (0)
+#define ACTQUIRE_RESOURCE_LOCK do {} while (0)
#define RELEASE_RESOURCE_LOCK do {} while (0)
#endif /* _LINUX_K_COMPAT_H */