On Die, 2012-01-03 at 18:09 +0000, Dave Airlie wrote:
2012/1/3 Michel Dänzer michel@daenzer.net:
From: Michel Dänzer michel.daenzer@amd.com
It can be called from atomic context, e.g. when switching to console for panic output.
I wonder how ugly it would be to check for atomic context or not,
So do I. :) The comment in include/linux/hardirq.h that ends in 'Do not use in_atomic() in driver code.' sounds rathery scary...