[PATCH 3/6] android: fix 'ionice', add ioprio defines

Denys Vlasenko vda.linux at googlemail.com
Sun Jun 10 12:27:57 UTC 2012


On Sunday 03 June 2012 16:43, Tias Guns wrote:
> patch inspired by 'BusyBox Patch V1.0 (Vitaly Greck)'
> https://code.google.com/p/busybox-android/downloads/detail?name=patch_busybox
> 
> Signed-off-by: Tias Guns <tias at ulyssis.org>
> ---
>  include/platform.h |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/platform.h b/include/platform.h
> index f250624..ba534b2 100644
> --- a/include/platform.h
> +++ b/include/platform.h
> @@ -336,6 +336,8 @@ typedef unsigned smalluint;
>  
>  #if defined(ANDROID) || defined(__ANDROID__)
>  # define BB_ADDITIONAL_PATH ":/system/sbin:/system/bin:/system/xbin"
> +# define SYS_ioprio_set __NR_ioprio_set
> +# define SYS_ioprio_get __NR_ioprio_get
>  #endif

Applied, thanks!


More information about the busybox mailing list