Line
Link Here
|
0 |
----BEGIN PGP SIGNATURE----- |
0 |
++ b/xen/include/asm-x86/x86_64/uaccess.h |
1 |
----END PGP SIGNATURE----- |
|
|
2 |
-- a/xen/include/asm-x86/x86_64/uaccess.h |
Lines 34-40
Link Here
|
34 |
* non-canonical address (and thus fault) before ever reaching VIRT_START. |
34 |
* non-canonical address (and thus fault) before ever reaching VIRT_START. |
35 |
*/ |
35 |
*/ |
36 |
#define __addr_ok(addr) \ |
36 |
#define __addr_ok(addr) \ |
37 |
(((unsigned long)(addr) < (1UL<<48)) || \ |
37 |
(((unsigned long)(addr) < (1UL<<47)) || \ |
38 |
((unsigned long)(addr) >= HYPERVISOR_VIRT_END)) |
38 |
((unsigned long)(addr) >= HYPERVISOR_VIRT_END)) |
39 |
#define access_ok(addr, size) \ |
39 |
#define access_ok(addr, size) \ |