|
@@ -825,8 +825,8 @@ void handle_interruption(int code, struct pt_regs *regs)
|
|
|
|
|
|
int __init check_ivt(void *iva)
|
|
|
{
|
|
|
+ extern u32 os_hpmc_size;
|
|
|
extern const u32 os_hpmc[];
|
|
|
- extern const u32 os_hpmc_end[];
|
|
|
|
|
|
int i;
|
|
|
u32 check = 0;
|
|
@@ -843,8 +843,7 @@ int __init check_ivt(void *iva)
|
|
|
*ivap++ = 0;
|
|
|
|
|
|
/* Compute Checksum for HPMC handler */
|
|
|
-
|
|
|
- length = os_hpmc_end - os_hpmc;
|
|
|
+ length = os_hpmc_size;
|
|
|
ivap[7] = length;
|
|
|
|
|
|
hpmcp = (u32 *)os_hpmc;
|