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>
This commit is contained in:

committed by
Linus Torvalds

parent
4a56758204
commit
99764fa4ce
@@ -126,7 +126,7 @@ void set_sigstack(void *sig_stack, int size)
|
||||
panic("enabling signal stack failed, errno = %d\n", errno);
|
||||
}
|
||||
|
||||
void (*handlers[_NSIG])(int sig, struct sigcontext *sc);
|
||||
static void (*handlers[_NSIG])(int sig, struct sigcontext *sc);
|
||||
|
||||
void handle_signal(int sig, struct sigcontext *sc)
|
||||
{
|
||||
|
Reference in New Issue
Block a user