diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-05 21:49:47 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-05 21:49:47 +0100 |
commit | 31bbed527e7039203920c51c9fb48c27aed0820c (patch) | |
tree | 71fa6e963f4c3d876e83e44927e87d5394a7cf69 /arch/x86/include/asm/uv | |
parent | 0fbba4871c42b297b0d6a6a6ff73e934cb91423e (diff) | |
parent | b2b352590d94651579e6914ecdb08d30b2cb5f19 (diff) |
Merge branch 'x86/uv' into x86/core
Diffstat (limited to 'arch/x86/include/asm/uv')
-rw-r--r-- | arch/x86/include/asm/uv/uv_hub.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/uv/uv_hub.h b/arch/x86/include/asm/uv/uv_hub.h index 777327ef05c..9f4dfba33b2 100644 --- a/arch/x86/include/asm/uv/uv_hub.h +++ b/arch/x86/include/asm/uv/uv_hub.h @@ -199,6 +199,10 @@ DECLARE_PER_CPU(struct uv_hub_info_s, __uv_hub_info); #define SCIR_CPU_ACTIVITY 0x02 /* not idle */ #define SCIR_CPU_HB_INTERVAL (HZ) /* once per second */ +/* Loop through all installed blades */ +#define for_each_possible_blade(bid) \ + for ((bid) = 0; (bid) < uv_num_possible_blades(); (bid)++) + /* * Macros for converting between kernel virtual addresses, socket local physical * addresses, and UV global physical addresses. |