Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166760
b: refs/heads/master
c: 31abdb7
h: refs/heads/master
v: v3
  • Loading branch information
David Brown authored and Russell King committed Oct 2, 2009
1 parent a89ec24 commit b6140fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0a4bc5e89cfc3cc3083acef130cd8b670ee56914
refs/heads/master: 31abdb744179159f8b605f56da5b197b188e1689
4 changes: 3 additions & 1 deletion trunk/arch/arm/kernel/head-common.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

#define ATAG_CORE 0x54410001
#define ATAG_CORE_SIZE ((2*4 + 3*4) >> 2)
#define ATAG_CORE_SIZE_EMPTY ((2*4) >> 2)

.align 2
.type __switch_data, %object
Expand Down Expand Up @@ -251,7 +252,8 @@ __vet_atags:
bne 1f

ldr r5, [r2, #0] @ is first tag ATAG_CORE?
subs r5, r5, #ATAG_CORE_SIZE
cmp r5, #ATAG_CORE_SIZE
cmpne r5, #ATAG_CORE_SIZE_EMPTY
bne 1f
ldr r5, [r2, #4]
ldr r6, =ATAG_CORE
Expand Down

0 comments on commit b6140fd

Please sign in to comment.