Skip to content
Permalink
Browse files

Fixing compilation with bug 31: Compiling on ARM v7

  • Loading branch information...
pkoutoupis committed Mar 14, 2019
1 parent 11e3ebe commit 9256174798fb7c97415afa4e703db294872099b7
Showing with 3 additions and 2 deletions.
  1. +2 −1 module/rapiddisk-cache.c
  2. +1 −1 src/common.h
@@ -416,7 +416,8 @@ void kcached_client_destroy(struct cache_context *dmc)

static unsigned long hash_block(struct cache_context *dmc, sector_t dbn)
{
unsigned long set_number, value;
unsigned long set_number;
uint64_t value;

value = (dbn >> (dmc->block_shift + dmc->consecutive_shift));
set_number = do_div(value, (dmc->size >> dmc->consecutive_shift));
@@ -45,7 +45,7 @@
#define COPYRIGHT "Copyright 2011 - 2018 Petros Koutoupis"
#define VERSION_NUM "5.2"
#define SUCCESS 0x0
#define NAMELEN 0x100
#define NAMELEN 0x200
#define BYTES_PER_SECTOR 0x200
#define BUFSZ 0x10000
#define DEFAULT_DES_KEY "0529198310301978"

0 comments on commit 9256174

Please sign in to comment.
You can’t perform that action at this time.