Re: [announce][draft3] HVCS for inclusion in 2.6 tree

From: Ryan Arnold
Date: Wed Jul 28 2004 - 14:22:25 EST


On Tue, 2004-07-27 at 17:50, Randy.Dunlap wrote:
> +int hvcs_convert(long to_convert)
> +{
> + switch (to_convert) {
> + case H_Success:
> + return 0;
> + case H_Parameter:
> + return -EINVAL;
> + case H_Hardware:
> + return -EIO;
> + case H_Busy:
>
> Can these H_values be converted from that coding style?

Randy, if you mean you'd like to see H_SUCCESS, H_PARAMETER, etc, I'd
like to point out that all of the documentation I worked from uses the
convention you see in my code. Additionally, all of these hcall return
codes already exist in include/asm-pp64/hvcall.h and have for some time.

Ryan S. Arnold
IBM Linux Technology Center

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