diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-09 00:34:42 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:55:52 -0500 |
commit | 4448aaf0faafff3f275d15937c28b6346760e028 (patch) | |
tree | d0477d4d0871c94a6eff7761d06b16a682e9ec53 /arch | |
parent | 0fbeb5a45dccd493c35a68a5548e6a9d9882a791 (diff) |
[PATCH] s390: "extern inline" -> "static inline"
"extern inline" -> "static inline"
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/kernel/debug.c | 12 | ||||
-rw-r--r-- | arch/s390/mm/fault.c | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/arch/s390/kernel/debug.c b/arch/s390/kernel/debug.c index bc59282da762..896d39d0e4ce 100644 --- a/arch/s390/kernel/debug.c +++ b/arch/s390/kernel/debug.c | |||
@@ -486,7 +486,7 @@ out: | |||
486 | * - goto next entry in p_info | 486 | * - goto next entry in p_info |
487 | */ | 487 | */ |
488 | 488 | ||
489 | extern inline int | 489 | static inline int |
490 | debug_next_entry(file_private_info_t *p_info) | 490 | debug_next_entry(file_private_info_t *p_info) |
491 | { | 491 | { |
492 | debug_info_t *id; | 492 | debug_info_t *id; |
@@ -800,7 +800,7 @@ debug_set_level(debug_info_t* id, int new_level) | |||
800 | * - set active entry to next in the ring buffer | 800 | * - set active entry to next in the ring buffer |
801 | */ | 801 | */ |
802 | 802 | ||
803 | extern inline void | 803 | static inline void |
804 | proceed_active_entry(debug_info_t * id) | 804 | proceed_active_entry(debug_info_t * id) |
805 | { | 805 | { |
806 | if ((id->active_entries[id->active_area] += id->entry_size) | 806 | if ((id->active_entries[id->active_area] += id->entry_size) |
@@ -817,7 +817,7 @@ proceed_active_entry(debug_info_t * id) | |||
817 | * - set active area to next in the ring buffer | 817 | * - set active area to next in the ring buffer |
818 | */ | 818 | */ |
819 | 819 | ||
820 | extern inline void | 820 | static inline void |
821 | proceed_active_area(debug_info_t * id) | 821 | proceed_active_area(debug_info_t * id) |
822 | { | 822 | { |
823 | id->active_area++; | 823 | id->active_area++; |
@@ -828,7 +828,7 @@ proceed_active_area(debug_info_t * id) | |||
828 | * get_active_entry: | 828 | * get_active_entry: |
829 | */ | 829 | */ |
830 | 830 | ||
831 | extern inline debug_entry_t* | 831 | static inline debug_entry_t* |
832 | get_active_entry(debug_info_t * id) | 832 | get_active_entry(debug_info_t * id) |
833 | { | 833 | { |
834 | return (debug_entry_t *) (((char *) id->areas[id->active_area] | 834 | return (debug_entry_t *) (((char *) id->areas[id->active_area] |
@@ -841,7 +841,7 @@ get_active_entry(debug_info_t * id) | |||
841 | * - set timestamp, caller address, cpu number etc. | 841 | * - set timestamp, caller address, cpu number etc. |
842 | */ | 842 | */ |
843 | 843 | ||
844 | extern inline void | 844 | static inline void |
845 | debug_finish_entry(debug_info_t * id, debug_entry_t* active, int level, | 845 | debug_finish_entry(debug_info_t * id, debug_entry_t* active, int level, |
846 | int exception) | 846 | int exception) |
847 | { | 847 | { |
@@ -971,7 +971,7 @@ debug_entry_t | |||
971 | * counts arguments in format string for sprintf view | 971 | * counts arguments in format string for sprintf view |
972 | */ | 972 | */ |
973 | 973 | ||
974 | extern inline int | 974 | static inline int |
975 | debug_count_numargs(char *string) | 975 | debug_count_numargs(char *string) |
976 | { | 976 | { |
977 | int numargs=0; | 977 | int numargs=0; |
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c index 64e32da77754..fb2607c369ed 100644 --- a/arch/s390/mm/fault.c +++ b/arch/s390/mm/fault.c | |||
@@ -160,7 +160,7 @@ static void do_sigsegv(struct pt_regs *regs, unsigned long error_code, | |||
160 | * 11 Page translation -> Not present (nullification) | 160 | * 11 Page translation -> Not present (nullification) |
161 | * 3b Region third trans. -> Not present (nullification) | 161 | * 3b Region third trans. -> Not present (nullification) |
162 | */ | 162 | */ |
163 | extern inline void | 163 | static inline void |
164 | do_exception(struct pt_regs *regs, unsigned long error_code, int is_protection) | 164 | do_exception(struct pt_regs *regs, unsigned long error_code, int is_protection) |
165 | { | 165 | { |
166 | struct task_struct *tsk; | 166 | struct task_struct *tsk; |