• Olof Johansson's avatar
    ARM: omap: fix warning with LPAE build · 6dd1e357
    Olof Johansson authored
    Some omap3 code is throwing a warning:
    arch/arm/mach-omap2/pm34xx.c: In function 'omap3_save_secure_ram_context':
    arch/arm/mach-omap2/pm34xx.c:123:32: warning: cast to pointer from
      integer of different size [-Wint-to-pointer-cast]
    
    In reality this code will never actually execute with LPAE=y, since
    Cortex-A8 doesn't support it. So downcasting the __pa() is safe in
    this case.
    Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
    Acked-by: default avatarTony Lindgren <tony@atomide.com>
    6dd1e357
pm34xx.c 21.5 KB