diff options
author | Pavel Machek <pavel@ucw.cz> | 2008-05-27 12:03:56 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-27 12:03:56 -0400 |
commit | dd564d0cf08686cf0cc332bf9d48cba5b26a8171 (patch) | |
tree | a929a8d523629ae504cc46d2ea9199bc6f3b3196 /arch/x86/kernel/aperture_64.c | |
parent | 0abbc78a0137fee60ef092f0b20a3d3d7e7e0cc2 (diff) |
x86: aperture_64.c: cleanups
Some small cleanups for aperture_64.c; they should not really change
any code.
Signed-off-by: Pavel Machek <pavel@suse.cz>
Cc: Dave Jones <davej@codemonkey.org.uk>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/aperture_64.c')
-rw-r--r-- | arch/x86/kernel/aperture_64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/aperture_64.c b/arch/x86/kernel/aperture_64.c index 5373f7834d8a..6eea42eb287b 100644 --- a/arch/x86/kernel/aperture_64.c +++ b/arch/x86/kernel/aperture_64.c | |||
@@ -111,7 +111,7 @@ static u32 __init allocate_aperture(void) | |||
111 | 111 | ||
112 | 112 | ||
113 | /* Find a PCI capability */ | 113 | /* Find a PCI capability */ |
114 | static __u32 __init find_cap(int bus, int slot, int func, int cap) | 114 | static u32 __init find_cap(int bus, int slot, int func, int cap) |
115 | { | 115 | { |
116 | int bytes; | 116 | int bytes; |
117 | u8 pos; | 117 | u8 pos; |
@@ -137,7 +137,7 @@ static __u32 __init find_cap(int bus, int slot, int func, int cap) | |||
137 | } | 137 | } |
138 | 138 | ||
139 | /* Read a standard AGPv3 bridge header */ | 139 | /* Read a standard AGPv3 bridge header */ |
140 | static __u32 __init read_agp(int bus, int slot, int func, int cap, u32 *order) | 140 | static u32 __init read_agp(int bus, int slot, int func, int cap, u32 *order) |
141 | { | 141 | { |
142 | u32 apsize; | 142 | u32 apsize; |
143 | u32 apsizereg; | 143 | u32 apsizereg; |
@@ -202,7 +202,7 @@ static __u32 __init read_agp(int bus, int slot, int func, int cap, u32 *order) | |||
202 | * the AGP bridges should be always an own bus on the HT hierarchy, | 202 | * the AGP bridges should be always an own bus on the HT hierarchy, |
203 | * but do it here for future safety. | 203 | * but do it here for future safety. |
204 | */ | 204 | */ |
205 | static __u32 __init search_agp_bridge(u32 *order, int *valid_agp) | 205 | static u32 __init search_agp_bridge(u32 *order, int *valid_agp) |
206 | { | 206 | { |
207 | int bus, slot, func; | 207 | int bus, slot, func; |
208 | 208 | ||