drm/nouveau/pmu/fuc: use imm32 in ld/st macros

Signed-off-by: Karol Herbst <nouveau@karolherbst.de>
Reviewed-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Karol Herbst 2016-03-02 17:23:07 +01:00 committed by Ben Skeggs
parent 8609cb8ef0
commit b815a2e3f8
1 changed files with 2 additions and 2 deletions

View File

@ -252,12 +252,12 @@
#endif
#define st(size, addr, reg) /*
*/ movw $r0 addr /*
*/ imm32($r0, addr) /*
*/ st size D[$r0] reg /*
*/ clear b32 $r0
#define ld(size, reg, addr) /*
*/ movw $r0 addr /*
*/ imm32($r0, addr) /*
*/ ld size reg D[$r0] /*
*/ clear b32 $r0