x86, amd-nb: Misc cleanliness fixes
authorBorislav Petkov <bp@amd64.org>
Thu, 3 Mar 2011 11:59:32 +0000 (12:59 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 3 Mar 2011 12:06:20 +0000 (13:06 +0100)
commit84fd1d35cc868a4f7590b6dbdae2d7761287b97a
tree11960a858330628e3278ca16f4eab9c663dc7267
parent9e81509efc4fefcdd75cc6a4121672fa71ae8745
x86, amd-nb: Misc cleanliness fixes

Make functions used strictly in bool context return bool. Also,
fixup used types and comments, and make a local function static,
while at it.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Cc: Borislav Petkov <bp@amd64.org>
LKML-Reference: <20110303115932.GA8603@aftab>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/amd_nb.h
arch/x86/kernel/amd_nb.c