1 diff --git a/scripts/hdrcheck.sh b/scripts/hdrcheck.sh
2 index 3159858..33d17cc 100755
3 --- a/scripts/hdrcheck.sh
4 +++ b/scripts/hdrcheck.sh
5 @@ -6,5 +6,16 @@ for FILE in `grep '^[ \t]*#[ \t]*include[ \t]*<' $2 | cut -f2 -d\< | cut -f1 -d\
10 +# make sure we export __asm__(), not asm()
12 + -e '\<asm[[:space:]]*(_{1,2}?volatile_{1,2}?[[:space:]]*)?\(' \
14 +if [ -n "$lines" ] ; then
15 + echo "$2 should convert asm() usage to __asm__() in exported headers"
20 # FIXME: List dependencies into $3