Merge remote-tracking branch 'mkp-scsi/4.8/scsi-fixes' into fixes
[cascardo/linux.git] / arch / powerpc / kernel / misc_32.S
index 285ca8c..d9c912b 100644 (file)
@@ -103,20 +103,6 @@ _GLOBAL(mulhdu)
        addze   r3,r10
        blr
 
-/*
- * sub_reloc_offset(x) returns x - reloc_offset().
- */
-_GLOBAL(sub_reloc_offset)
-       mflr    r0
-       bl      1f
-1:     mflr    r5
-       lis     r4,1b@ha
-       addi    r4,r4,1b@l
-       subf    r5,r4,r5
-       subf    r3,r5,r3
-       mtlr    r0
-       blr
-
 /*
  * reloc_got2 runs through the .got2 section adding an offset
  * to each entry.