arch: arm: Add macro for cache alignment

Add macro to check if the adddress is aligned to
cache line boundary.

Change-Id: Ie200fe025b5cf246035023a069cb529e63f12375
diff --git a/arch/arm/include/arch/defines.h b/arch/arm/include/arch/defines.h
index 825629b..2041f39 100644
--- a/arch/arm/include/arch/defines.h
+++ b/arch/arm/include/arch/defines.h
@@ -1,6 +1,8 @@
 /*
  * Copyright (c) 2008 Travis Geiselbrecht
  *
+ * Copyright (c) 2013, The Linux Foundation. All rights reserved.
+ *
  * Permission is hereby granted, free of charge, to any person obtaining
  * a copy of this software and associated documentation files
  * (the "Software"), to deal in the Software without restriction,
@@ -38,5 +40,6 @@
  #error unknown cpu
 #endif
 
+#define IS_CACHE_LINE_ALIGNED(addr)  !((uint32_t) (addr) & (CACHE_LINE - 1))
 #endif