diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2008-07-24 00:28:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 13:47:24 -0400 |
commit | 99764fa4ceeecba8b9e0a8a5565b418a2e94f83b (patch) | |
tree | aecf842728e5dfc80743662d87c089b24896f8ed /arch/um/sys-i386/checksum.S | |
parent | 4a5675820436e4ad738dd442c1cc8a165101509b (diff) |
UML: make several more things static
- Make some variables and functions static, since they don't need to be
global.
- Remove an unused function - arch/um/kernel/time.c::sched_clock().
- Clean the style a bit as complained by checkpatch.pl.
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: WANG Cong <wangcong@zeuux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/sys-i386/checksum.S')
-rw-r--r-- | arch/um/sys-i386/checksum.S | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/um/sys-i386/checksum.S b/arch/um/sys-i386/checksum.S index 62c7e564f22e..f058d2f82e18 100644 --- a/arch/um/sys-i386/checksum.S +++ b/arch/um/sys-i386/checksum.S | |||
@@ -243,13 +243,12 @@ unsigned int csum_partial_copy_generic (const char *src, char *dst, | |||
243 | .previous | 243 | .previous |
244 | 244 | ||
245 | .align 4 | 245 | .align 4 |
246 | .globl csum_partial_copy_generic_i386 | 246 | |
247 | |||
248 | #ifndef CONFIG_X86_USE_PPRO_CHECKSUM | 247 | #ifndef CONFIG_X86_USE_PPRO_CHECKSUM |
249 | 248 | ||
250 | #define ARGBASE 16 | 249 | #define ARGBASE 16 |
251 | #define FP 12 | 250 | #define FP 12 |
252 | 251 | ||
253 | csum_partial_copy_generic_i386: | 252 | csum_partial_copy_generic_i386: |
254 | subl $4,%esp | 253 | subl $4,%esp |
255 | pushl %edi | 254 | pushl %edi |