Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57763
b: refs/heads/master
c: c3d4ed4
h: refs/heads/master
i:
  57761: f914787
  57759: 327de45
v: v3
  • Loading branch information
Kyle McMartin authored and Kyle McMartin committed Jun 4, 2007
1 parent 8ba0430 commit 9006dba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 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: 3bb457af4fa86dceef57d7c3e959aff162457fdc
refs/heads/master: c3d4ed4e3e5aa8d9e6b4b795f004a7028ce780e9
5 changes: 1 addition & 4 deletions trunk/arch/parisc/kernel/hpmc.S
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,5 @@ os_hpmc_6:
b .
nop
ENDPROC(os_hpmc)

/* this label used to compute os_hpmc checksum */
ENTRY(os_hpmc_end)

ENTRY(os_hpmc_end) /* this label used to compute os_hpmc checksum */
nop
7 changes: 4 additions & 3 deletions trunk/arch/parisc/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -802,13 +802,14 @@ void handle_interruption(int code, struct pt_regs *regs)

int __init check_ivt(void *iva)
{
extern const u32 os_hpmc[];
extern const u32 os_hpmc_end[];

int i;
u32 check = 0;
u32 *ivap;
u32 *hpmcp;
u32 length;
extern void os_hpmc(void);
extern void os_hpmc_end(void);

if (strcmp((char *)iva, "cows can fly"))
return -1;
Expand All @@ -820,7 +821,7 @@ int __init check_ivt(void *iva)

/* Compute Checksum for HPMC handler */

length = (u32)((unsigned long)os_hpmc_end - (unsigned long)os_hpmc);
length = os_hpmc_end - os_hpmc;
ivap[7] = length;

hpmcp = (u32 *)os_hpmc;
Expand Down

0 comments on commit 9006dba

Please sign in to comment.