diff options
author | danh-arm <dan.handley@arm.com> | 2016-07-25 12:29:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-25 12:29:52 +0100 |
commit | 3dd9835f8ab3c2e7f57ddc92505d6c800bbacd47 (patch) | |
tree | cbecea4cf95d12d01493f2241e846b02dc536f8c /lib/locks/bakery/bakery_lock_normal.c | |
parent | bc469a84b5541bc717bc04712df73f4001847215 (diff) | |
parent | 738b1fd7c0628e9c6cc89e36629f27bde01559df (diff) |
Merge pull request #667 from soby-mathew/sm/PSCI_lib
Introduce PSCI library
Diffstat (limited to 'lib/locks/bakery/bakery_lock_normal.c')
-rw-r--r-- | lib/locks/bakery/bakery_lock_normal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/locks/bakery/bakery_lock_normal.c b/lib/locks/bakery/bakery_lock_normal.c index 45b870b9..efc1b57e 100644 --- a/lib/locks/bakery/bakery_lock_normal.c +++ b/lib/locks/bakery/bakery_lock_normal.c @@ -82,13 +82,13 @@ extern void *__PERCPU_BAKERY_LOCK_SIZE__; #define write_cache_op(addr, cached) \ do { \ - (cached ? dccvac((uint64_t)addr) :\ - dcivac((uint64_t)addr));\ + (cached ? dccvac((uintptr_t)addr) :\ + dcivac((uintptr_t)addr));\ dsbish();\ } while (0) #define read_cache_op(addr, cached) if (cached) \ - dccivac((uint64_t)addr) + dccivac((uintptr_t)addr) static unsigned int bakery_get_ticket(bakery_lock_t *lock, unsigned int me, int is_cached) |