------- Comment #8 from joshudson at gmail dot com 2006-04-22 23:28 ------- The code that calls all the "asmlinkage" calls does so through a vector table. Consequently, it does not know how many arguments it calls. However, the arguments live in particular registers when called, so it just pushes all of them (it has to preserve all the registers anyway).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27234