uaccess.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) uaccess.h (e77986b560741f40ac30755afc57074898da31e8)
1#ifndef __ALPHA_UACCESS_H
2#define __ALPHA_UACCESS_H
3
4#include <linux/errno.h>
5#include <linux/sched.h>
6
7
8/*

--- 469 unchanged lines hidden (view full) ---

478({ \
479 if ((_fixup)->fixup.bits.valreg != 31) \
480 map_reg((_fixup)->fixup.bits.valreg) = 0; \
481 if ((_fixup)->fixup.bits.errreg != 31) \
482 map_reg((_fixup)->fixup.bits.errreg) = -EFAULT; \
483 (pc) + (_fixup)->fixup.bits.nextinsn; \
484})
485
1#ifndef __ALPHA_UACCESS_H
2#define __ALPHA_UACCESS_H
3
4#include <linux/errno.h>
5#include <linux/sched.h>
6
7
8/*

--- 469 unchanged lines hidden (view full) ---

478({ \
479 if ((_fixup)->fixup.bits.valreg != 31) \
480 map_reg((_fixup)->fixup.bits.valreg) = 0; \
481 if ((_fixup)->fixup.bits.errreg != 31) \
482 map_reg((_fixup)->fixup.bits.errreg) = -EFAULT; \
483 (pc) + (_fixup)->fixup.bits.nextinsn; \
484})
485
486#define ARCH_HAS_SORT_EXTABLE
487#define ARCH_HAS_SEARCH_EXTABLE
486#define ARCH_HAS_RELATIVE_EXTABLE
488
487
488#define swap_ex_entry_fixup(a, b, tmp, delta) \
489 do { \
490 (a)->fixup.unit = (b)->fixup.unit; \
491 (b)->fixup.unit = (tmp).fixup.unit; \
492 } while (0)
493
494
489#endif /* __ALPHA_UACCESS_H */
495#endif /* __ALPHA_UACCESS_H */