Commit 9b5b87a3 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: error in set_dec introduced by me, fixed by Milton Miller

parent cc7b6127
...@@ -83,9 +83,8 @@ static __inline__ void set_dec(int val) ...@@ -83,9 +83,8 @@ static __inline__ void set_dec(int val)
if (cur_dec > val) if (cur_dec > val)
HvCall_setVirtualDecr(); HvCall_setVirtualDecr();
} else } else
#else
mtspr(SPRN_DEC, val);
#endif #endif
mtspr(SPRN_DEC, val);
} }
extern __inline__ unsigned long tb_ticks_since(unsigned long tstamp) { extern __inline__ unsigned long tb_ticks_since(unsigned long tstamp) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment