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/fdisk.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/fdisk.c')
-rw-r--r-- | util-linux/fdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index c98a74fc0..827ea21f3 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -309,7 +309,7 @@ struct globals { | |||
309 | #define MBRbuffer (G.MBRbuffer) | 309 | #define MBRbuffer (G.MBRbuffer) |
310 | #define ptes (G.ptes) | 310 | #define ptes (G.ptes) |
311 | #define INIT_G() do { \ | 311 | #define INIT_G() do { \ |
312 | PTR_TO_GLOBALS = xzalloc(sizeof(G)); \ | 312 | SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ |
313 | sector_size = DEFAULT_SECTOR_SIZE; \ | 313 | sector_size = DEFAULT_SECTOR_SIZE; \ |
314 | sector_offset = 1; \ | 314 | sector_offset = 1; \ |
315 | g_partitions = 4; \ | 315 | g_partitions = 4; \ |