return result;
}
-
static inline void set_bit(int nr, volatile void *addr)
{
int * a = (int *) addr;
#define hweight16(x) generic_hweight16(x)
#define hweight8(x) generic_hweight8(x)
-
static inline int ext2_set_bit(int nr, volatile void *addr)
{
int mask, retval;
typedef unsigned short __kernel_old_uid_t;
typedef unsigned short __kernel_old_gid_t;
-
typedef struct {
#if defined(__KERNEL__) || defined(__USE_ALL)
int val[2];
#endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */
} __kernel_fsid_t;
-
#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
#undef __FD_SET
#ifndef __MICROBLAZE_PTRACE_H__
#define __MICROBLAZE_PTRACE_H__
-
/* Microblaze general purpose registers with special meanings. */
#define GPR_ZERO 0 /* constant zero */
#define GPR_ASM 18 /* reserved for assembler */
#define SR_DIR 21
#define SR_ASID 23
-
#ifndef __ASSEMBLY__
typedef unsigned long microblaze_reg_t;
microblaze_reg_t single_step; /* 1 if in single step mode */
};
-
#define instruction_pointer(regs) ((regs)->pc)
#define user_mode(regs) (!(regs)->kernel_mode)
#endif /* !__ASSEMBLY__ */
-
/* The number of bytes used to store each register. */
#define _PT_REG_SIZE 4