Skip to content
Commit 3c4be80b authored by Stéphane Marchesin's avatar Stéphane Marchesin Committed by Ben Skeggs
Browse files

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: default avatarStéphane Marchesin <marcheu@chromium.org>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 797a8162
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