diff options
author | Cédric Le Goater <clg@fr.ibm.com> | 2015-02-24 12:14:18 +0100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-02-26 18:19:40 +1100 |
commit | 71412289a28b23dc459dae472a0264ca660cd7df (patch) | |
tree | 51a7ca62ac19c738040c895fd7631e048dce7642 /include/skiboot.h | |
parent | 61f1609249bca3234fd3f463ebc55c6eeef8f494 (diff) | |
download | skiboot-71412289a28b23dc459dae472a0264ca660cd7df.zip skiboot-71412289a28b23dc459dae472a0264ca660cd7df.tar.gz skiboot-71412289a28b23dc459dae472a0264ca660cd7df.tar.bz2 |
sparse: fix fonction declarations
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/skiboot.h')
-rw-r--r-- | include/skiboot.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/skiboot.h b/include/skiboot.h index d20a9a2..146ff80 100644 --- a/include/skiboot.h +++ b/include/skiboot.h @@ -117,7 +117,7 @@ enum proc_gen { extern enum proc_gen proc_gen; /* Convert a 4-bit number to a hex char */ -extern char tohex(uint8_t nibble); +extern char __attrconst tohex(uint8_t nibble); /* Bit position of the most significant 1-bit (LSB=0, MSB=63) */ static inline int ilog2(unsigned long val) @@ -180,8 +180,8 @@ extern unsigned long get_symbol(unsigned long addr, /* Fast reboot support */ extern void fast_reset(void); -extern void __secondary_cpu_entry(void); -extern void load_and_boot_kernel(bool is_reboot); +extern void __noreturn __secondary_cpu_entry(void); +extern void __noreturn load_and_boot_kernel(bool is_reboot); extern void cleanup_tlb(void); extern void init_shared_sprs(void); extern void init_replicated_sprs(void); |