Andi brought up a good point that I think is worth thinking about.
It should be safe to call regparm functions from assembly code, so it
may make sense to document regparm as working for functions called
strictly by assembly code until we can fix reload to DTRT. It may
even be possible to have the compiler issue a warning/error when C
code calls a regparm function.
That may or may not be acceptable to the kernel folks. It does
restrict the usefullness of regparm, but still leaves it available
for the cases where we should be able to make it work.
So, let's all back off and think about this for 24-48 hours.
jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html