bitkeeper revision 1.1236.1.17 (421e4879kSyHWNvied24BDzGi-OmgA)

Struct rename.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kaf24@scramble.cl.cam.ac.uk committed 2005-02-24 21:34:49 +00:00
1 parent 6a329a59de
commit 69a3e16aa2
2 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ static struct {
#define NR_PERFCTRS (sizeof(perfc_info) / sizeof(perfc_info[0]))
struct perfcounter_t perfcounters;
struct perfcounter perfcounters;
void perfc_printall(unsigned char key)
{
+2 -3
View File
@@ -46,12 +46,11 @@
#define PERFSTATUS_ARRAY( var, name, size ) \
atomic_t var[size];
struct perfcounter_t
{
struct perfcounter {
#include <xen/perfc_defn.h>
};
extern struct perfcounter_t perfcounters;
extern struct perfcounter perfcounters;
#define perfc_value(x) atomic_read(&perfcounters.x[0])
#define perfc_valuec(x) atomic_read(&perfcounters.x[smp_processor_id()])
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.