Re: [PATCH -next V10 06/10] riscv: entry: Consolidate ret_from_kernel_thread into ret_from_fork

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



guoren@xxxxxxxxxx writes:

> From: Jisheng Zhang <jszhang@xxxxxxxxxx>
>
> The ret_from_kernel_thread() behaves similarly with ret_from_fork(),
> the only difference is whether call the fn(arg) or not, this can be
> achieved by testing fn is NULL or not, I.E s0 is 0 or not. Many
> architectures have done the same thing, it make entry.S more clean.

Nit: "it makes".


Björn




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux