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 /procps | |
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 'procps')
-rw-r--r-- | procps/nmeter.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/procps/nmeter.c b/procps/nmeter.c index b8ba3facb..573052921 100644 --- a/procps/nmeter.c +++ b/procps/nmeter.c | |||
@@ -75,11 +75,11 @@ struct globals { | |||
75 | #define proc_diskstats (G.proc_diskstats ) | 75 | #define proc_diskstats (G.proc_diskstats ) |
76 | #define proc_sys_fs_filenr (G.proc_sys_fs_filenr) | 76 | #define proc_sys_fs_filenr (G.proc_sys_fs_filenr) |
77 | #define INIT_G() do { \ | 77 | #define INIT_G() do { \ |
78 | PTR_TO_GLOBALS = xzalloc(sizeof(G)); \ | 78 | SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ |
79 | cur_outbuf = outbuf; \ | 79 | cur_outbuf = outbuf; \ |
80 | final_str = "\n"; \ | 80 | final_str = "\n"; \ |
81 | deltanz = delta = 1000000; \ | 81 | deltanz = delta = 1000000; \ |
82 | } while (0) | 82 | } while (0) |
83 | 83 | ||
84 | // We depend on this being a char[], not char* - we take sizeof() of it | 84 | // We depend on this being a char[], not char* - we take sizeof() of it |
85 | #define outbuf bb_common_bufsiz1 | 85 | #define outbuf bb_common_bufsiz1 |