[lkml]   [2004]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [announce][draft3] HVCS for inclusion in 2.6 tree
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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:04    [W:0.030 / U:4.464 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site