From mboxrd@z Thu Jan 1 00:00:00 1970 From: rohan.puri15@gmail.com (rohan puri) Date: Wed, 7 Sep 2011 17:39:16 +0530 Subject: Doubt regarding asmlinkage In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi All, asmlinkage is used in front of the each system call prototype. For x86 arch it indicates that the the parameters are on stack instead of the registers and for x86_64 arch the parameters are in registers only. Doubt i have is whats the need for 32-bit intel arch to put parameters on stack and not registers in a way similar to x86_64? Regards, Rohan. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110907/5f3cd7f9/attachment.html