Skip to contentSkip to conversation

Header and EXPORT_SYMBOL() fixes so that more stuff builds.

Xen-changelog Rik van Riel 1 participant 1 message Dec 1, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

xen/include/public/xen.h line 13

Quoted 8 lines · BitKeeper Bot
xen/include/public/xen.h +2 -0
@@ -9,8 +9,10 @@
 
+#ifndef PACKED
 /* GCC-specific way to pack structure definitions (no implicit padding). */
 #define PACKED __attribute__ ((packed))
+#endif

That's not taking away the compile errors in befs, because the befs header files are included _after_ the Xen ones. Wonder if we should put a similar ifdef in there, or just not care about befs ;)))

In file included from fs/befs/befs.h:11,

                 from fs/befs/linuxvfs.c:19:

fs/befs/befs_fs_types.h:21:1: warning: "PACKED" redefined
In file included from include/asm-xen/asm/page.h:18,
from include/asm/thread_info.h:13,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from fs/befs/linuxvfs.c:8:
include/asm-xen/xen-public/xen.h:14:1: warning: this is the location of the previous definition

Signature · 9 lines
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/