#include #define SQR(x) (x * x) main() { int counter; /* counter for loop */ for (counter = 0; counter < 5; counter++) { (void)printf("x %d, x squared %d\n", counter+1, SQR(counter+1)); } return (0); } git.cgi/linux/net-next.git/atom/.mailmap?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Thorlton <athorlton@sgi.com>2016-03-31 14:18:29 -0500
committerIngo Molnar <mingo@kernel.org>2016-04-01 11:45:54 +0200
commit1c532e00a0c649ac6f0703e8c2e095c9c1d30625 (patch)
treea1db0eabd454d16fc310638610f4e97bcc37798e /.mailmap
parentc05c2ec96bb8b7310da1055c7b9d786a3ec6dc0c (diff)
x86/platform/uv: Disable UV BAU by default
For several years, the common practice has been to boot UVs with the "nobau" parameter on the command line, to disable the BAU. We've decided that it makes more sense to just disable the BAU by default in the kernel, and provide the option to turn it on, if desired. For now, having the on/off switch doesn't buy us any more than just reversing the logic would, but we're working towards having the BAU enabled by default on UV4. When those changes are in place, having the on/off switch will make more sense than an enable flag, since the default behavior will be different depending on the system version. I've also added a bit of documentation for the new parameter to Documentation/kernel-parameters.txt. Signed-off-by: Alex Thorlton <athorlton@sgi.com> Reviewed-by: Hedi Berriche <hedi@sgi.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1459451909-121845-1-git-send-email-athorlton@sgi.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to '.mailmap')