Home
last modified time | relevance | path

Searched hist:"658 f2dc9" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/linux-user/
H A Dqemu.h658f2dc9 Fri Jan 04 18:39:31 CST 2013 Richard Henderson <rth@twiddle.net> linux-user: Rewrite __get_user/__put_user with __builtin_choose_expr

The previous formuation with multiple assignments to __typeof(*hptr) falls
down when hptr is qualified const. E.g. with const struct S *p, p->f is
also qualified const.

With this formulation, there's no assignment to any local variable.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>