mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl: Remove unused inline assembly load
Signed-off-by: Philipp Rudo <prudo@linux.vnet.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
13648dd6f4
commit
8585efadbe
@@ -29,19 +29,6 @@ struct stage2dump_parm_tail {
|
||||
extern struct stage2dump_parm_tail parm_tail
|
||||
__attribute__ ((section(".stage2dump.tail")));
|
||||
|
||||
/*
|
||||
* Load 4 bytes from addr
|
||||
*/
|
||||
static inline unsigned int load(unsigned long addr)
|
||||
{
|
||||
unsigned int val;
|
||||
|
||||
asm volatile(
|
||||
" l %0,0(%1)\n"
|
||||
: "=d" (val) : "d" (addr) : "cc");
|
||||
return val;
|
||||
}
|
||||
|
||||
/*
|
||||
* S390 dump format defines
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user