UPSTREAM: src/lib: Move asmlinkage before type
Fix the following warning detected by checkpatch.pl:
WARNING: storage class should be at the beginning of the declaration
TEST=Build and run on Galileo Gen2
Change-Id: Ia5276e6664988186fef8ecc32d824380d67909d2
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 696ced6cfb
Original-Change-Id: I7d3135466634a4bb84dcef16dbd68754f8d8d6c2
Original-Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Original-Reviewed-on: https://review.coreboot.org/18760
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/454553
This commit is contained in:
parent
4dbf24bafc
commit
4d1f363777
2 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ __attribute__((weak)) void bootblock_soc_early_init(void) { /* do nothing */ }
|
|||
__attribute__((weak)) void bootblock_soc_init(void) { /* do nothing */ }
|
||||
__attribute__((weak)) void bootblock_mainboard_init(void) { /* do nothing */ }
|
||||
|
||||
void asmlinkage bootblock_main_with_timestamp(uint64_t base_timestamp)
|
||||
asmlinkage void bootblock_main_with_timestamp(uint64_t base_timestamp)
|
||||
{
|
||||
/* Initialize timestamps if we have TIMESTAMP region in memlayout.ld. */
|
||||
if (IS_ENABLED(CONFIG_COLLECT_TIMESTAMPS) && _timestamp_size > 0)
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
* specific implementations may vary
|
||||
*/
|
||||
#define WRAP_LIBGCC_CALL(type, name) \
|
||||
type __real_##name(type a, type b) asmlinkage; \
|
||||
asmlinkage type __real_##name(type a, type b); \
|
||||
type __wrap_##name(type a, type b); \
|
||||
type __wrap_##name(type a, type b) { return __real_##name(a, b); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue