aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/cpucheck.c
diff options
context:
space:
mode:
authorPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>2008-02-22 17:11:12 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:40:50 -0400
commit7030760ae5d29d637d1e962c70d1d9c58be3306f (patch)
tree6b813f3a181d04b60cca09277605f22d4d4b8f1a /arch/x86/boot/cpucheck.c
parentd677759e99b51f50a75b2adfabb25e9d656ee33c (diff)
x86: coding style fixes to arch/x86/boot/cpucheck.c
Before: total: 30 errors, 0 warnings, 262 lines checked After: total: 0 errors, 0 warnings, 262 lines checked No code changed: arch/x86/boot/cpucheck.o: text data bss dec hex filename 989 0 96 1085 43d cpucheck.o.before 989 0 96 1085 43d cpucheck.o.after md5: 06634cfefb8438fa284ff903b4cafbce cpucheck.o.before.asm 06634cfefb8438fa284ff903b4cafbce cpucheck.o.after.asm Signed-off-by: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/boot/cpucheck.c')
-rw-r--r--arch/x86/boot/cpucheck.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/x86/boot/cpucheck.c b/arch/x86/boot/cpucheck.c
index 769065bd23d7..2462c88689ed 100644
--- a/arch/x86/boot/cpucheck.c
+++ b/arch/x86/boot/cpucheck.c
@@ -56,27 +56,27 @@ static const u32 req_flags[NCAPINTS] =
56 REQUIRED_MASK7, 56 REQUIRED_MASK7,
57}; 57};
58 58
59#define A32(a,b,c,d) (((d) << 24)+((c) << 16)+((b) << 8)+(a)) 59#define A32(a, b, c, d) (((d) << 24)+((c) << 16)+((b) << 8)+(a))
60 60
61static int is_amd(void) 61static int is_amd(void)
62{ 62{
63 return cpu_vendor[0] == A32('A','u','t','h') && 63 return cpu_vendor[0] == A32('A', 'u', 't', 'h') &&
64 cpu_vendor[1] == A32('e','n','t','i') && 64 cpu_vendor[1] == A32('e', 'n', 't', 'i') &&
65 cpu_vendor[2] == A32('c','A','M','D'); 65 cpu_vendor[2] == A32('c', 'A', 'M', 'D');
66} 66}
67 67
68static int is_centaur(void) 68static int is_centaur(void)
69{ 69{
70 return cpu_vendor[0] == A32('C','e','n','t') && 70 return cpu_vendor[0] == A32('C', 'e', 'n', 't') &&
71 cpu_vendor[1] == A32('a','u','r','H') && 71 cpu_vendor[1] == A32('a', 'u', 'r', 'H') &&
72 cpu_vendor[2] == A32('a','u','l','s'); 72 cpu_vendor[2] == A32('a', 'u', 'l', 's');
73} 73}
74 74
75static int is_transmeta(void) 75static int is_transmeta(void)
76{ 76{
77 return cpu_vendor[0] == A32('G','e','n','u') && 77 return cpu_vendor[0] == A32('G', 'e', 'n', 'u') &&
78 cpu_vendor[1] == A32('i','n','e','T') && 78 cpu_vendor[1] == A32('i', 'n', 'e', 'T') &&
79 cpu_vendor[2] == A32('M','x','8','6'); 79 cpu_vendor[2] == A32('M', 'x', '8', '6');
80} 80}
81 81
82static int has_fpu(void) 82static int has_fpu(void)