|
@@ -76,9 +76,7 @@ startup_64:
|
|
subq $_text - __START_KERNEL_map, %rbp
|
|
subq $_text - __START_KERNEL_map, %rbp
|
|
|
|
|
|
/* Is the address not 2M aligned? */
|
|
/* Is the address not 2M aligned? */
|
|
- movq %rbp, %rax
|
|
|
|
- andl $~PMD_PAGE_MASK, %eax
|
|
|
|
- testl %eax, %eax
|
|
|
|
|
|
+ testl $~PMD_PAGE_MASK, %ebp
|
|
jnz bad_address
|
|
jnz bad_address
|
|
|
|
|
|
/*
|
|
/*
|