[PATCH 01/10] arch/x86/platform/uv: BAU cleanup: vertical alignment
Fix whitespace on blocks of code to be vertically aligned. Signed-off-by: Andrew BanmanAcked-by: Mike Travis Acked-by: Dimitri Sivanich Acked-by: Thomas Gleixner --- arch/x86/platform/uv/tlb_uv.c | 64 +-- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index fdb4d42..b84c2a2 100644 --- a/arch/x86/platform/uv/tlb_uv.c +++ b/arch/x86/platform/uv/tlb_uv.c @@ -55,16 +55,16 @@ static int congested_reps = CONGESTED_REPS; static int disabled_period = DISABLED_PERIOD; static struct tunables tunables[] = { - {_concurr, MAX_BAU_CONCURRENT}, /* must be [0] */ - {_delay, PLUGGED_DELAY}, - {, PLUGSB4RESET}, - {, TIMEOUTSB4RESET}, - {_reset_limit, IPI_RESET_LIMIT}, - {_threshold, COMPLETE_THRESHOLD}, - {_respns_us, CONGESTED_RESPONSE_US}, - {_reps, CONGESTED_REPS}, - {_period, DISABLED_PERIOD}, - {_limit, GIVEUP_LIMIT} + {_concurr, MAX_BAU_CONCURRENT}, /* must be [0] */ + {_delay, PLUGGED_DELAY}, + {, PLUGSB4RESET}, + {, TIMEOUTSB4RESET}, + {_reset_limit, IPI_RESET_LIMIT}, + {_threshold,COMPLETE_THRESHOLD}, + {_respns_us, CONGESTED_RESPONSE_US}, + {_reps,CONGESTED_REPS}, + {_period, DISABLED_PERIOD}, + {_limit, GIVEUP_LIMIT} }; static struct dentry *tunables_dir; @@ -1619,17 +1619,17 @@ static ssize_t tunables_write(struct file *file, const char __user *user, for_each_present_cpu(cpu) { bcp = _cpu(bau_control, cpu); - bcp->max_concurr = max_concurr; - bcp->max_concurr_const =max_concurr; - bcp->plugged_delay =plugged_delay; - bcp->plugsb4reset = plugsb4reset; - bcp->timeoutsb4reset = timeoutsb4reset; - bcp->ipi_reset_limit = ipi_reset_limit; - bcp->complete_threshold = complete_threshold; - bcp->cong_response_us = congested_respns_us; - bcp->cong_reps =congested_reps; - bcp->disabled_period = sec_2_cycles(disabled_period); - bcp->giveup_limit = giveup_limit; + bcp->max_concurr = max_concurr; + bcp->max_concurr_const = max_concurr; + bcp->plugged_delay = plugged_delay; + bcp->plugsb4reset= plugsb4reset; + bcp->timeoutsb4reset = timeoutsb4reset; + bcp->ipi_reset_limit = ipi_reset_limit; + bcp->complete_threshold = complete_threshold; + bcp->cong_response_us= congested_respns_us; + bcp->cong_reps = congested_reps; + bcp->disabled_period = sec_2_cycles(disabled_period); + bcp->giveup_limit= giveup_limit; } return count; } @@ -1740,7 +1740,7 @@ static void activation_descriptor_init(int node, int pnode, int base_pnode) memset(bd2, 0, sizeof(struct bau_desc)); if (uv1) { uv1_hdr = >header.uv1_hdr; - uv1_hdr->swack_flag = 1; + uv1_hdr->swack_flag = 1; /* * The base_dest_nasid set in the message header * is the nasid of the first uvhub in the partition. @@ -1749,10 +1749,10 @@ static void activation_descriptor_init(int node, int pnode, int base_pnode) * if nasid striding is being used. */ uv1_hdr->base_dest_nasid = - UV_PNODE_TO_NASID(base_pnode); - uv1_hdr->dest_subnodeid = UV_LB_SUBNODEID; - uv1_hdr->command = UV_NET_ENDPOINT_INTD; - uv1_hdr->int_both = 1; + UV_PNODE_TO_NASID(base_pnode); + uv1_hdr->dest_subnodeid = UV_LB_SUBNODEID; + uv1_hdr->command = UV_NET_ENDPOINT_INTD; + uv1_hdr->int_both= 1; /* * all others need to be set to zero: * fairness chaining multilevel count replied_to @@ -1763,11 +1763,11 @@ static void activation_descriptor_init(int node, int pnode, int base_pnode) * uses native mode for selective broadcasts. */ uv2_3_hdr = >header.uv2_3_hdr; - uv2_3_hdr->swack_flag = 1; + uv2_3_hdr->swack_flag
[PATCH 01/10] arch/x86/platform/uv: BAU cleanup: vertical alignment
Fix whitespace on blocks of code to be vertically aligned. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich Acked-by: Thomas Gleixner --- arch/x86/platform/uv/tlb_uv.c | 64 +-- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index fdb4d42..b84c2a2 100644 --- a/arch/x86/platform/uv/tlb_uv.c +++ b/arch/x86/platform/uv/tlb_uv.c @@ -55,16 +55,16 @@ static int congested_reps = CONGESTED_REPS; static int disabled_period = DISABLED_PERIOD; static struct tunables tunables[] = { - {_concurr, MAX_BAU_CONCURRENT}, /* must be [0] */ - {_delay, PLUGGED_DELAY}, - {, PLUGSB4RESET}, - {, TIMEOUTSB4RESET}, - {_reset_limit, IPI_RESET_LIMIT}, - {_threshold, COMPLETE_THRESHOLD}, - {_respns_us, CONGESTED_RESPONSE_US}, - {_reps, CONGESTED_REPS}, - {_period, DISABLED_PERIOD}, - {_limit, GIVEUP_LIMIT} + {_concurr, MAX_BAU_CONCURRENT}, /* must be [0] */ + {_delay, PLUGGED_DELAY}, + {, PLUGSB4RESET}, + {, TIMEOUTSB4RESET}, + {_reset_limit, IPI_RESET_LIMIT}, + {_threshold,COMPLETE_THRESHOLD}, + {_respns_us, CONGESTED_RESPONSE_US}, + {_reps,CONGESTED_REPS}, + {_period, DISABLED_PERIOD}, + {_limit, GIVEUP_LIMIT} }; static struct dentry *tunables_dir; @@ -1619,17 +1619,17 @@ static ssize_t tunables_write(struct file *file, const char __user *user, for_each_present_cpu(cpu) { bcp = _cpu(bau_control, cpu); - bcp->max_concurr = max_concurr; - bcp->max_concurr_const =max_concurr; - bcp->plugged_delay =plugged_delay; - bcp->plugsb4reset = plugsb4reset; - bcp->timeoutsb4reset = timeoutsb4reset; - bcp->ipi_reset_limit = ipi_reset_limit; - bcp->complete_threshold = complete_threshold; - bcp->cong_response_us = congested_respns_us; - bcp->cong_reps =congested_reps; - bcp->disabled_period = sec_2_cycles(disabled_period); - bcp->giveup_limit = giveup_limit; + bcp->max_concurr = max_concurr; + bcp->max_concurr_const = max_concurr; + bcp->plugged_delay = plugged_delay; + bcp->plugsb4reset= plugsb4reset; + bcp->timeoutsb4reset = timeoutsb4reset; + bcp->ipi_reset_limit = ipi_reset_limit; + bcp->complete_threshold = complete_threshold; + bcp->cong_response_us= congested_respns_us; + bcp->cong_reps = congested_reps; + bcp->disabled_period = sec_2_cycles(disabled_period); + bcp->giveup_limit= giveup_limit; } return count; } @@ -1740,7 +1740,7 @@ static void activation_descriptor_init(int node, int pnode, int base_pnode) memset(bd2, 0, sizeof(struct bau_desc)); if (uv1) { uv1_hdr = >header.uv1_hdr; - uv1_hdr->swack_flag = 1; + uv1_hdr->swack_flag = 1; /* * The base_dest_nasid set in the message header * is the nasid of the first uvhub in the partition. @@ -1749,10 +1749,10 @@ static void activation_descriptor_init(int node, int pnode, int base_pnode) * if nasid striding is being used. */ uv1_hdr->base_dest_nasid = - UV_PNODE_TO_NASID(base_pnode); - uv1_hdr->dest_subnodeid = UV_LB_SUBNODEID; - uv1_hdr->command = UV_NET_ENDPOINT_INTD; - uv1_hdr->int_both = 1; + UV_PNODE_TO_NASID(base_pnode); + uv1_hdr->dest_subnodeid = UV_LB_SUBNODEID; + uv1_hdr->command = UV_NET_ENDPOINT_INTD; + uv1_hdr->int_both= 1; /* * all others need to be set to zero: * fairness chaining multilevel count replied_to @@ -1763,11 +1763,11 @@ static void activation_descriptor_init(int node, int pnode, int base_pnode) * uses native mode for selective broadcasts. */ uv2_3_hdr = >header.uv2_3_hdr; - uv2_3_hdr->swack_flag = 1; + uv2_3_hdr->swack_flag = 1; uv2_3_hdr->base_dest_nasid = -