Comment 5 for bug 6784

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 23 Apr 2004 17:05:14 +0100
From: Philip Blundell <email address hidden>
To: <email address hidden>
Cc: Petter Reinholdtsen <email address hidden>
Subject: Re: sysklogd: FTBFS on s390 - missing atomic_t / __KERNEL__

Using <linux/module.h> from an application is a bad idea. In
particular, atomic_t is just not available in userspace on some
architectures, because there is no datatype that is inherently atomic.

You probably want to copy module.h from modutils/include and use that
instead.

p.