riscv: provide MODIFIES for read_sip

read_sip does not modify any state

Signed-off-by: Rafal Kolanski <rafal.kolanski@data61.csiro.au>
This commit is contained in:
Rafal Kolanski 2020-04-17 21:58:18 +10:00 committed by Kent Mcleod
parent 1f93e0508d
commit b903cb7372

View file

@ -152,6 +152,7 @@ static inline word_t read_sstatus(void)
return temp;
}
/** MODIFIES: */
static inline word_t read_sip(void)
{
word_t temp;