src/include: Remove space after function name
Fix the following warning detected by checkpatch.pl: WARNING: space prohibited between function name and open parenthesis '(' TEST=Build and run on Galileo Gen2 Change-Id: I0ac30b32bab895ca72f91720eeae5a5067327247 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18656 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
@ -511,7 +511,7 @@ struct smm_module_params {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* smm_handler_t is called with arg of smm_module_params pointer. */
|
/* smm_handler_t is called with arg of smm_module_params pointer. */
|
||||||
typedef void asmlinkage (*smm_handler_t)(void *);
|
typedef asmlinkage void (*smm_handler_t)(void *);
|
||||||
|
|
||||||
#ifdef __SMM__
|
#ifdef __SMM__
|
||||||
/* SMM Runtime helpers. */
|
/* SMM Runtime helpers. */
|
||||||
|
@ -70,7 +70,7 @@ void asmlinkage switch_to_thread(uintptr_t new_stack, uintptr_t *saved_stack);
|
|||||||
* will enter the thread_entry() function with arg as a parameter. The
|
* will enter the thread_entry() function with arg as a parameter. The
|
||||||
* saved_stack field in the struct thread needs to be updated accordingly. */
|
* saved_stack field in the struct thread needs to be updated accordingly. */
|
||||||
void arch_prepare_thread(struct thread *t,
|
void arch_prepare_thread(struct thread *t,
|
||||||
void asmlinkage (*thread_entry)(void *), void *arg);
|
asmlinkage void (*thread_entry)(void *), void *arg);
|
||||||
#else
|
#else
|
||||||
static inline void threads_initialize(void) {}
|
static inline void threads_initialize(void) {}
|
||||||
static inline int thread_run(void (*func)(void *), void *arg) { return -1; }
|
static inline int thread_run(void (*func)(void *), void *arg) { return -1; }
|
||||||
|
Reference in New Issue
Block a user