Define enumerated constants for each UV hub version and replace magic
numbers with the appropriate constant.
Signed-off-by: Andrew Banman
---
arch/x86/include/asm/uv/uv_bau.h | 7 +++
arch/x86/platform/uv/tlb_uv.c| 16
2 files changed, 15
Define enumerated constants for each UV hub version and replace magic
numbers with the appropriate constant.
Signed-off-by: Andrew Banman
---
arch/x86/include/asm/uv/uv_bau.h | 7 +++
arch/x86/platform/uv/tlb_uv.c| 16
2 files changed, 15 insertions(+), 8 deletions(-)
Define enumerated constants for each UV hub version and replace magic
numbers with the appropriate constant. This makes our checks against
uvhub_version more robust, and any use of unsupported archs will be
caught during compilation.
Signed-off-by: Andrew Banman
Acked-by: Mike
Define enumerated constants for each UV hub version and replace magic
numbers with the appropriate constant. This makes our checks against
uvhub_version more robust, and any use of unsupported archs will be
caught during compilation.
Signed-off-by: Andrew Banman
Acked-by: Mike Travis
---
4 matches
Mail list logo