Changeset b352895 in mainline


Ignore:
Timestamp:
2010-02-19T18:11:48Z (15 years ago)
Author:
Pavel Rimsky <pavel@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cf843906
Parents:
617652f
Message:

Cleanup of errnos.

Location:
kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/sun4v/hypercall.h

    r617652f rb352895  
    8181#define EBADPGSZ        4       /**< Invalid pagesize encoding */
    8282#define EBADTSB         5       /**< Invalid TSB description */
    83 #define EINVAL          6       /**< Invalid argument */
     83#define HV_EINVAL       6       /**< Invalid argument */
    8484#define EBADTRAP        7       /**< Invalid function number */
    8585#define EBADALIGN       8       /**< Invalid address alignment */
     
    9292#define ETOOMANY        15      /**< Too many items specified / limit reached */
    9393#define ECHANNEL        16      /**< Invalid LDC channel */
    94 #define EBUSY           17      /**< Operation failed as resource is otherwise busy */
     94#define HV_EBUSY        17      /**< Operation failed as resource is otherwise busy */
    9595
    9696
  • kernel/generic/include/errno.h

    r617652f rb352895  
    5757#define EADDRNOTAVAIL   -12     /* Address not available. */
    5858#define ETIMEOUT        -13     /* Timeout expired */
    59 //MH
    60 #ifndef EINVAL
    6159#define EINVAL          -14     /* Invalid value */
    62 #endif
    63 #ifndef EBUSY
    6460#define EBUSY           -15     /* Resource is busy */
    65 #endif
    6661#define EOVERFLOW       -16     /* The result does not fit its size. */
    6762#define EINTR           -17     /* Operation was interrupted. */
Note: See TracChangeset for help on using the changeset viewer.