Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
b49381e7
Commit
b49381e7
authored
Sep 10, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up some of the basic x86 offenders on __iomem usage.
parent
5d9cb4db
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
arch/i386/kernel/pci-dma.c
arch/i386/kernel/pci-dma.c
+1
-1
arch/i386/pci/mmconfig.c
arch/i386/pci/mmconfig.c
+1
-1
arch/x86_64/kernel/early_printk.c
arch/x86_64/kernel/early_printk.c
+1
-1
No files found.
arch/i386/kernel/pci-dma.c
View file @
b49381e7
...
@@ -72,7 +72,7 @@ void dma_free_coherent(struct device *dev, size_t size,
...
@@ -72,7 +72,7 @@ void dma_free_coherent(struct device *dev, size_t size,
int
dma_declare_coherent_memory
(
struct
device
*
dev
,
dma_addr_t
bus_addr
,
int
dma_declare_coherent_memory
(
struct
device
*
dev
,
dma_addr_t
bus_addr
,
dma_addr_t
device_addr
,
size_t
size
,
int
flags
)
dma_addr_t
device_addr
,
size_t
size
,
int
flags
)
{
{
void
*
mem_base
;
void
__iomem
*
mem_base
;
int
pages
=
size
>>
PAGE_SHIFT
;
int
pages
=
size
>>
PAGE_SHIFT
;
int
bitmap_size
=
(
pages
+
31
)
/
32
;
int
bitmap_size
=
(
pages
+
31
)
/
32
;
...
...
arch/i386/pci/mmconfig.c
View file @
b49381e7
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
/* The physical address of the MMCONFIG aperture. Set from ACPI tables. */
/* The physical address of the MMCONFIG aperture. Set from ACPI tables. */
u32
pci_mmcfg_base_addr
;
u32
pci_mmcfg_base_addr
;
#define mmcfg_virt_addr (fix_to_virt(FIX_PCIE_MCFG))
#define mmcfg_virt_addr (
(void __iomem *)
fix_to_virt(FIX_PCIE_MCFG))
/* The base address of the last MMCONFIG device accessed */
/* The base address of the last MMCONFIG device accessed */
static
u32
mmcfg_last_accessed_device
;
static
u32
mmcfg_last_accessed_device
;
...
...
arch/x86_64/kernel/early_printk.c
View file @
b49381e7
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
/* Simple VGA output */
/* Simple VGA output */
#ifdef __i386__
#ifdef __i386__
#define VGABASE
__pa((void *)(__PAGE_OFFSET + 0xb8000UL)
)
#define VGABASE
(__ISA_IO_base + 0xb8000
)
#else
#else
#define VGABASE 0xffffffff800b8000UL
#define VGABASE 0xffffffff800b8000UL
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment