fix a couple of warnings

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5236 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2010-03-17 01:51:11 +00:00
committed by Stefan Reinauer
parent 37e781706b
commit 348a1ba589
10 changed files with 19 additions and 12 deletions

View File

@@ -250,10 +250,14 @@ typedef struct {
/* SMI handler function prototypes */
void smi_handler(u32 smm_revision);
void io_trap_handler(int smif);
int southbridge_io_trap_handler(int smif);
int mainboard_io_trap_handler(int smif);
void southbridge_smi_set_eos(void);
void __attribute__((weak)) cpu_smi_handler(unsigned int node, smm_state_save_area_t *state_save);
void __attribute__((weak)) northbridge_smi_handler(unsigned int node, smm_state_save_area_t *state_save);
void __attribute__((weak)) southbridge_smi_handler(unsigned int node, smm_state_save_area_t *state_save);

View File

@@ -7,7 +7,7 @@ struct tsc_struct {
};
typedef struct tsc_struct tsc_t;
static tsc_t rdtsc(void)
static inline tsc_t rdtsc(void)
{
tsc_t res;
__asm__ __volatile__ (