diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-27 18:41:59 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-27 18:41:59 +0000 |
commit | 574f2f43948bb21d6e4187936ba5a5afccba25f6 (patch) | |
tree | 0b39aca564149e5ad30b3cc791228655ff1b1827 /util-linux/mkfs_minix.c | |
parent | fe66a0eca1bfeae0abc0fc1e7d3709f271e05e82 (diff) | |
download | busybox-w32-574f2f43948bb21d6e4187936ba5a5afccba25f6.tar.gz busybox-w32-574f2f43948bb21d6e4187936ba5a5afccba25f6.tar.bz2 busybox-w32-574f2f43948bb21d6e4187936ba5a5afccba25f6.zip |
*: add optimization barrier to all "G trick" locations
Diffstat (limited to 'util-linux/mkfs_minix.c')
-rw-r--r-- | util-linux/mkfs_minix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index 118b95efb..a784b72f4 100644 --- a/util-linux/mkfs_minix.c +++ b/util-linux/mkfs_minix.c | |||
@@ -122,7 +122,7 @@ struct globals { | |||
122 | }; | 122 | }; |
123 | #define G (*ptr_to_globals) | 123 | #define G (*ptr_to_globals) |
124 | #define INIT_G() do { \ | 124 | #define INIT_G() do { \ |
125 | PTR_TO_GLOBALS = xzalloc(sizeof(G)); \ | 125 | SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ |
126 | } while (0) | 126 | } while (0) |
127 | 127 | ||
128 | static ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n) | 128 | static ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n) |