summaryrefslogtreecommitdiff
path: root/curve_test.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-08-10 09:38:46 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-08-10 09:38:46 +0200
commitcb158d929bdb417af3b6fdc8fa39bc9a76068793 (patch)
tree9911fbef83ade8d62587df5026179fd00ca4fe43 /curve_test.c
parent66cf8073cb31cebf4532afec9b18556aff8088fb (diff)
build: Disable all optimization options for debug builds
Disable all optimizations with the GCC -O0 switch. Only explicitely enable additional optimization options for non-debug builds. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'curve_test.c')
0 files changed, 0 insertions, 0 deletions
the sysfs dev stuff can be fully set up, and then registered all in one step with device_add. That's true for properties and property groups, but not for parents and child devices. Those must be fully registered before you can register a child. Add a bit of tracking to make sure that asynchronous mst connector hotplugging gets this right. For consistency we rely upon the implicit barriers of the connector->mutex, which is taken anyway, to ensure that at least either the connector or device registration call will work out. Mildly tested since I can't reliably reproduce this on my mst box here. Reported-by: Dave Hansen <dave.hansen@intel.com> Cc: Dave Hansen <dave.hansen@intel.com> Acked-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1484237756-2720-1-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/crypto/internal/scompress.h')