aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorXin Gao <gaoxin@cdjrlc.com>2022-07-21 03:39:41 +0800
committerHelge Deller <deller@gmx.de>2022-08-01 18:43:23 +0200
commitb9e28d3c249211ec4d2de646975c32f22e5c201d (patch)
treef234fe51d474e9d0cf37918a54159a38eae4dc87 /arch/parisc
parentparisc: Check the return value of ioremap() in lba_driver_probe() (diff)
downloadlinux-dev-b9e28d3c249211ec4d2de646975c32f22e5c201d.tar.xz
linux-dev-b9e28d3c249211ec4d2de646975c32f22e5c201d.zip
parisc: Do not initialise statics to 0
Signed-off-by: Xin Gao <gaoxin@cdjrlc.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/pci-dma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/kernel/pci-dma.c b/arch/parisc/kernel/pci-dma.c
index 160996f2198e..ba87f791323b 100644
--- a/arch/parisc/kernel/pci-dma.c
+++ b/arch/parisc/kernel/pci-dma.c
@@ -36,8 +36,8 @@
#include <asm/tlbflush.h> /* for purge_tlb_*() macros */
static struct proc_dir_entry * proc_gsc_root __read_mostly = NULL;
-static unsigned long pcxl_used_bytes __read_mostly = 0;
-static unsigned long pcxl_used_pages __read_mostly = 0;
+static unsigned long pcxl_used_bytes __read_mostly;
+static unsigned long pcxl_used_pages __read_mostly;
extern unsigned long pcxl_dma_start; /* Start of pcxl dma mapping area */
static DEFINE_SPINLOCK(pcxl_res_lock);