mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 05:34:13 +08:00
xtensa: clean up ELF_PLAT_INIT macro
Wrap _r in parentheses in the macro body. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
80e78fcce8
commit
ccd2d9df6e
@ -153,10 +153,15 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
|
||||
*/
|
||||
|
||||
#define ELF_PLAT_INIT(_r, load_addr) \
|
||||
do { _r->areg[0]=0; /*_r->areg[1]=0;*/ _r->areg[2]=0; _r->areg[3]=0; \
|
||||
_r->areg[4]=0; _r->areg[5]=0; _r->areg[6]=0; _r->areg[7]=0; \
|
||||
_r->areg[8]=0; _r->areg[9]=0; _r->areg[10]=0; _r->areg[11]=0; \
|
||||
_r->areg[12]=0; _r->areg[13]=0; _r->areg[14]=0; _r->areg[15]=0; \
|
||||
do { \
|
||||
(_r)->areg[0] = 0; /*(_r)->areg[1] = 0;*/ \
|
||||
(_r)->areg[2] = 0; (_r)->areg[3] = 0; \
|
||||
(_r)->areg[4] = 0; (_r)->areg[5] = 0; \
|
||||
(_r)->areg[6] = 0; (_r)->areg[7] = 0; \
|
||||
(_r)->areg[8] = 0; (_r)->areg[9] = 0; \
|
||||
(_r)->areg[10] = 0; (_r)->areg[11] = 0; \
|
||||
(_r)->areg[12] = 0; (_r)->areg[13] = 0; \
|
||||
(_r)->areg[14] = 0; (_r)->areg[15] = 0; \
|
||||
} while (0)
|
||||
|
||||
typedef struct {
|
||||
|
Loading…
Reference in New Issue
Block a user