diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-05-01 11:59:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 11:59:29 -0400 |
commit | 408b664a7d394a5e4315fbd14aca49b042cb2b08 (patch) | |
tree | bd3ebe72229227962d157e46e61ed65b78d6e28b /arch | |
parent | c31403a1f5a761599df38bcc2d6ba94f24320c33 (diff) |
[PATCH] make lots of things static
Another large rollup of various patches from Adrian which make things static
where they were needlessly exported.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/cpu/mtrr/generic.c | 4 | ||||
-rw-r--r-- | arch/x86_64/kernel/early_printk.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/i386/kernel/cpu/mtrr/generic.c b/arch/i386/kernel/cpu/mtrr/generic.c index 9f7a7ea6388d..f468a979e9aa 100644 --- a/arch/i386/kernel/cpu/mtrr/generic.c +++ b/arch/i386/kernel/cpu/mtrr/generic.c | |||
@@ -124,8 +124,8 @@ int generic_get_free_region(unsigned long base, unsigned long size) | |||
124 | return -ENOSPC; | 124 | return -ENOSPC; |
125 | } | 125 | } |
126 | 126 | ||
127 | void generic_get_mtrr(unsigned int reg, unsigned long *base, | 127 | static void generic_get_mtrr(unsigned int reg, unsigned long *base, |
128 | unsigned int *size, mtrr_type * type) | 128 | unsigned int *size, mtrr_type * type) |
129 | { | 129 | { |
130 | unsigned int mask_lo, mask_hi, base_lo, base_hi; | 130 | unsigned int mask_lo, mask_hi, base_lo, base_hi; |
131 | 131 | ||
diff --git a/arch/x86_64/kernel/early_printk.c b/arch/x86_64/kernel/early_printk.c index 750bcd0655dc..e3a19e8ebbf8 100644 --- a/arch/x86_64/kernel/early_printk.c +++ b/arch/x86_64/kernel/early_printk.c | |||
@@ -60,7 +60,7 @@ static struct console early_vga_console = { | |||
60 | 60 | ||
61 | /* Serial functions loosely based on a similar package from Klaus P. Gerlicher */ | 61 | /* Serial functions loosely based on a similar package from Klaus P. Gerlicher */ |
62 | 62 | ||
63 | int early_serial_base = 0x3f8; /* ttyS0 */ | 63 | static int early_serial_base = 0x3f8; /* ttyS0 */ |
64 | 64 | ||
65 | #define XMTRDY 0x20 | 65 | #define XMTRDY 0x20 |
66 | 66 | ||