summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-12-04 09:47:20 +0000
committerru <ru@FreeBSD.org>2005-12-04 09:47:20 +0000
commitd7f72714df95f7b7a9e4e35639d450dc9c65650f (patch)
treebf42150a169ee5c5e6faf303199c934519fe261d /sys/gnu
parent9049f15e35b101adac8529408c41de3df8609b82 (diff)
downloadFreeBSD-src-d7f72714df95f7b7a9e4e35639d450dc9c65650f.zip
FreeBSD-src-d7f72714df95f7b7a9e4e35639d450dc9c65650f.tar.gz
There no longer seems to be this bug in gcc(1). Remove the
badly implemented workaround that caused a workaround to be applied to all architectures, not only amd64.
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/fs/reiserfs/reiserfs_fs.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/gnu/fs/reiserfs/reiserfs_fs.h b/sys/gnu/fs/reiserfs/reiserfs_fs.h
index e32ae23..1046f29 100644
--- a/sys/gnu/fs/reiserfs/reiserfs_fs.h
+++ b/sys/gnu/fs/reiserfs/reiserfs_fs.h
@@ -1015,17 +1015,8 @@ struct path {
#define pos_in_item(path) ((path)->pos_in_item)
-#if (_MACHINE_ARCH == amd64)
-/* To workaround a bug in gcc. He generates a call to memset() which
- * is a inline function; this causes a compile time error. */
-#define INITIALIZE_PATH(var) \
- struct path var; \
- bzero(&var, sizeof(var)); \
- var.path_length = ILLEGAL_PATH_ELEMENT_OFFSET;
-#else
#define INITIALIZE_PATH(var) \
struct path var = { ILLEGAL_PATH_ELEMENT_OFFSET, }
-#endif
/* Get path element by path and path position. */
#define PATH_OFFSET_PELEMENT(p_s_path, n_offset) \
OpenPOWER on IntegriCloud