diff options
Diffstat (limited to 'src/boot/elfboot.c')
-rw-r--r-- | src/boot/elfboot.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/boot/elfboot.c b/src/boot/elfboot.c index 0bd233a1f5..fb2486382f 100644 --- a/src/boot/elfboot.c +++ b/src/boot/elfboot.c @@ -9,22 +9,6 @@ #include <stdlib.h> #include <string.h> -static inline uint64_t unpack_lb64(struct lb_uint64 value) -{ - uint64_t result; - result = value.hi; - result = (result << 32) + value.lo; - return result; -} - -static inline struct lb_uint64 pack_lb64(uint64_t value) -{ - struct lb_uint64 result; - result.lo = (value >> 0) & 0xffffffff; - result.hi = (value >> 32) & 0xffffffff; - return result; -} - /* Maximum physical address we can use for the linuxBIOS bounce buffer. */ #ifndef MAX_ADDR |