diff options
author | Steven J. Hill <steven.hill@cavium.com> | 2018-06-05 08:24:51 +0300 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2018-07-25 03:39:03 +0300 |
commit | 840267e4466c72d48ca951a9678f48a322fade35 (patch) | |
tree | f48c15692e6baeddb8b5187c0d34ea878c3a03df /arch/mips/include/asm/octeon/cvmx-stxx-defs.h | |
parent | 6312455a0437a64059bdeee5696b375593a09947 (diff) | |
download | linux-840267e4466c72d48ca951a9678f48a322fade35.tar.xz |
MIPS: Octeon: Remove extern declarations.
Get rid of extern declarations in .c functions and included
the necessary header file. Also remove unused UART declares.
Signed-off-by: Steven J. Hill <steven.hill@cavium.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/19477/
Cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/mips/include/asm/octeon/cvmx-stxx-defs.h')
-rw-r--r-- | arch/mips/include/asm/octeon/cvmx-stxx-defs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/include/asm/octeon/cvmx-stxx-defs.h b/arch/mips/include/asm/octeon/cvmx-stxx-defs.h index 146354005d3b..3c409a854d91 100644 --- a/arch/mips/include/asm/octeon/cvmx-stxx-defs.h +++ b/arch/mips/include/asm/octeon/cvmx-stxx-defs.h @@ -4,7 +4,7 @@ * Contact: support@caviumnetworks.com * This file is part of the OCTEON SDK * - * Copyright (c) 2003-2012 Cavium Networks + * Copyright (C) 2003-2018 Cavium, Inc. * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, Version 2, as @@ -45,6 +45,8 @@ #define CVMX_STXX_STAT_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180090000638ull) + ((block_id) & 1) * 0x8000000ull) #define CVMX_STXX_STAT_PKT_XMT(block_id) (CVMX_ADD_IO_SEG(0x0001180090000640ull) + ((block_id) & 1) * 0x8000000ull) +void __cvmx_interrupt_stxx_int_msk_enable(int index); + union cvmx_stxx_arb_ctl { uint64_t u64; struct cvmx_stxx_arb_ctl_s { |