call_usermodehelper(path, argv, envp, 1)
# define RECALC_SIGPENDING recalc_sigpending()
# define CURRENT_SECONDS get_seconds()
+# define smp_num_cpus NR_CPUS
#elif defined(CONFIG_RH_2_4_20) /* RH 2.4.x */
#define LL_CDEBUG_PAGE(mask, page, fmt, arg...) \
CDEBUG(mask, "page %p map %p index %lu flags %lx count %u priv %0lx: " \
fmt, page, page->mapping, page->index, page->flags, \
- atomic_read(&page->count), page->private, ## arg)
+ page_count(page), page->private, ## arg)
/* lib/debug.c */
int dump_lniobuf(struct niobuf_local *lnb);
/* d_rehash */
if (!d_unhashed(de)) {
spin_unlock(&dcache_lock);
- CERROR("dentry %.*s %p hash next %p, prev %p\n",
+ CERROR("dentry %.*s %p hash next %p\n",
de->d_name.len, de->d_name.name, de,
- de->d_hash.next, de->d_hash.prev);
+ de->d_hash.next);
LBUG();
}
__d_rehash(de, 0);
call_usermodehelper(path, argv, envp, 1)
# define RECALC_SIGPENDING recalc_sigpending()
# define CURRENT_SECONDS get_seconds()
+# define smp_num_cpus NR_CPUS
#elif defined(CONFIG_RH_2_4_20) /* RH 2.4.x */