Re: [bkpatch] do_mmap cleanup

Paul Mackerras (paulus@samba.org)
Sat, 9 Mar 2002 22:14:07 +1100 (EST)


Juan Quintela writes:

> Please, don't do that, export another function that does exactly that.
> sys_munmap is declared as asmlinkage, and some architectures (at
> least ppc used to have) need especial code to be able to call
> asmlinkage functions from inside the kernel.

Huh? asmlinkage doesn't do anything on PPC, and never has. It only
makes any difference on i386 and ia64 - see include/linux/linkage.h.

Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/