mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
MIPS: Replace MIPS-specific 64BIT_PHYS_ADDR with generic PHYS_ADDR_T_64BIT
Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
parent
f98614072c
commit
34adb28d50
15 changed files with 40 additions and 43 deletions
|
|
@ -76,7 +76,7 @@ static void channel64_write_CHAR(const struct txx9dmac_chan *dc, dma_addr_t val)
|
|||
|
||||
static void channel64_clear_CHAR(const struct txx9dmac_chan *dc)
|
||||
{
|
||||
#if defined(CONFIG_32BIT) && !defined(CONFIG_64BIT_PHYS_ADDR)
|
||||
#if defined(CONFIG_32BIT) && !defined(CONFIG_PHYS_ADDR_T_64BIT)
|
||||
channel64_writel(dc, CHAR, 0);
|
||||
channel64_writel(dc, __pad_CHAR, 0);
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ static inline bool txx9_dma_have_SMPCHN(void)
|
|||
|
||||
/* Hardware register definitions. */
|
||||
struct txx9dmac_cregs {
|
||||
#if defined(CONFIG_32BIT) && !defined(CONFIG_64BIT_PHYS_ADDR)
|
||||
#if defined(CONFIG_32BIT) && !defined(CONFIG_PHYS_ADDR_T_64BIT)
|
||||
TXX9_DMA_REG32(CHAR); /* Chain Address Register */
|
||||
#else
|
||||
u64 CHAR; /* Chain Address Register */
|
||||
|
|
@ -201,7 +201,7 @@ static inline bool is_dmac64(const struct txx9dmac_chan *dc)
|
|||
#ifdef TXX9_DMA_USE_SIMPLE_CHAIN
|
||||
/* Hardware descriptor definition. (for simple-chain) */
|
||||
struct txx9dmac_hwdesc {
|
||||
#if defined(CONFIG_32BIT) && !defined(CONFIG_64BIT_PHYS_ADDR)
|
||||
#if defined(CONFIG_32BIT) && !defined(CONFIG_PHYS_ADDR_T_64BIT)
|
||||
TXX9_DMA_REG32(CHAR);
|
||||
#else
|
||||
u64 CHAR;
|
||||
|
|
|
|||
Loading…
Reference in a new issue