---------- Forwarded message ----------
Date: Tue, 27 Nov 2007 14:26:19 -0500 (EST)
From: Robert P. J. Day <[EMAIL PROTECTED]>
To: Geert Uytterhoeven <[EMAIL PROTECTED]>,
    Roman Zippel <[EMAIL PROTECTED]>
Subject: ac.ac_ahz just looks a bit weird


  i'm curious about the following.  first, in include/linux/acct.h:

#if !defined(CONFIG_M68K) || !defined(__KERNEL__)
        __u16           ac_ahz;                 /* AHZ */
#endif

ok, so that structure member will be created only in user space, or in
kernel space as long as !CONFIG_M68K.  but then there's this in
kernel/acct.c:

#if ACCT_VERSION==2
        ac.ac_ahz = AHZ;
#endif

is there no way that could get into trouble?  for instance, if you
build for M68K, and that structure member doesn't exist?

  anyway, i just thought the above looked a bit strange, but i might
be misreading it entirely.

rday

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to