summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/hpmc.S
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2009-01-03 06:35:40 +0000
committerKyle McMartin <kyle@mcmartin.ca>2009-01-05 19:18:27 +0000
commitae16489eb1175066c8f3008fc3c0396c525e1906 (patch)
tree575fe8aeaeea8f2bf246cbc603dbb2d510e88bd6 /arch/parisc/kernel/hpmc.S
parentc61c25eb02757ecf697015ef4ae3675c5e114e2e (diff)
downloadop-kernel-dev-ae16489eb1175066c8f3008fc3c0396c525e1906.zip
op-kernel-dev-ae16489eb1175066c8f3008fc3c0396c525e1906.tar.gz
parisc: export length of os_hpmc vector
and use this instead of dealing with exporting start/end and toying with function descriptors. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch/parisc/kernel/hpmc.S')
-rw-r--r--arch/parisc/kernel/hpmc.S8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/parisc/kernel/hpmc.S b/arch/parisc/kernel/hpmc.S
index 2cbf13b..5595a2f 100644
--- a/arch/parisc/kernel/hpmc.S
+++ b/arch/parisc/kernel/hpmc.S
@@ -80,6 +80,7 @@ END(hpmc_pim_data)
.import intr_save, code
ENTRY(os_hpmc)
+.os_hpmc:
/*
* registers modified:
@@ -295,5 +296,10 @@ os_hpmc_6:
b .
nop
ENDPROC(os_hpmc)
-ENTRY(os_hpmc_end) /* this label used to compute os_hpmc checksum */
+.os_hpmc_end:
nop
+.data
+.align 4
+ .export os_hpmc_size
+os_hpmc_size:
+ .word .os_hpmc_end-.os_hpmc
OpenPOWER on IntegriCloud