]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/fb: Prevent inlining of ramfuc_reg
authorStéphane Marchesin <marcheu@chromium.org>
Fri, 27 Jun 2014 20:17:25 +0000 (13:17 -0700)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 8 Jul 2014 02:56:53 +0000 (12:56 +1000)
commit4b8c61b76d688d15ce5ba25f460f4c8dd49bf593
tree3f3919e4827fcc9f6f0f933d981469da4d76a037
parentcecf9e0dbada1791fe2c1f9f96b552fb6eb06210
drm/nouveau/fb: Prevent inlining of ramfuc_reg

When gcc 4.8 inlines this function, it eats up 16 bytes on the stack
every time. Eventually we hit warnings because our stack grew too
much:

ramnve0.c:1383:1: error: the frame size of 1496 bytes is larger than
1024 bytes

We fix this by preventing inlining for this function.

Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/fb/ramfuc.h