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
37a93ba7
Commit
37a93ba7
authored
May 26, 2004
by
Steve French
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs
parents
99eee9a8
5e681ee3
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
23 deletions
+21
-23
drivers/net/tokenring/olympic.c
drivers/net/tokenring/olympic.c
+1
-1
include/asm-ppc64/eeh.h
include/asm-ppc64/eeh.h
+3
-3
include/asm-ppc64/mmu.h
include/asm-ppc64/mmu.h
+1
-1
include/asm-ppc64/mmu_context.h
include/asm-ppc64/mmu_context.h
+2
-2
include/asm-ppc64/page.h
include/asm-ppc64/page.h
+12
-10
include/asm-ppc64/thread_info.h
include/asm-ppc64/thread_info.h
+0
-4
include/linux/idr.h
include/linux/idr.h
+2
-2
No files found.
drivers/net/tokenring/olympic.c
View file @
37a93ba7
...
...
@@ -1806,7 +1806,7 @@ static int __init olympic_pci_init(void)
static
void
__exit
olympic_pci_cleanup
(
void
)
{
return
pci_unregister_driver
(
&
olympic_driver
)
;
pci_unregister_driver
(
&
olympic_driver
)
;
}
...
...
include/asm-ppc64/eeh.h
View file @
37a93ba7
...
...
@@ -215,7 +215,7 @@ static inline u8 eeh_inb(unsigned long port) {
static
inline
void
eeh_outb
(
u8
val
,
unsigned
long
port
)
{
if
(
_IO_IS_VALID
(
port
))
return
out_8
((
u8
*
)(
port
+
pci_io_base
),
val
);
out_8
((
u8
*
)(
port
+
pci_io_base
),
val
);
}
static
inline
u16
eeh_inw
(
unsigned
long
port
)
{
...
...
@@ -230,7 +230,7 @@ static inline u16 eeh_inw(unsigned long port) {
static
inline
void
eeh_outw
(
u16
val
,
unsigned
long
port
)
{
if
(
_IO_IS_VALID
(
port
))
return
out_le16
((
u16
*
)(
port
+
pci_io_base
),
val
);
out_le16
((
u16
*
)(
port
+
pci_io_base
),
val
);
}
static
inline
u32
eeh_inl
(
unsigned
long
port
)
{
...
...
@@ -245,7 +245,7 @@ static inline u32 eeh_inl(unsigned long port) {
static
inline
void
eeh_outl
(
u32
val
,
unsigned
long
port
)
{
if
(
_IO_IS_VALID
(
port
))
return
out_le32
((
u32
*
)(
port
+
pci_io_base
),
val
);
out_le32
((
u32
*
)(
port
+
pci_io_base
),
val
);
}
/* in-string eeh macros */
...
...
include/asm-ppc64/mmu.h
View file @
37a93ba7
...
...
@@ -204,7 +204,7 @@ static inline unsigned long hpt_hash(unsigned long vpn, int large)
page
=
vpn
&
0xffff
;
}
return
(
vsid
&
0x7fffffffff
)
^
page
;
return
(
vsid
&
0x7fffffffff
UL
)
^
page
;
}
static
inline
void
__tlbie
(
unsigned
long
va
,
int
large
)
...
...
include/asm-ppc64/mmu_context.h
View file @
37a93ba7
...
...
@@ -175,8 +175,8 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
#define activate_mm(active_mm, mm) \
switch_mm(active_mm, mm, current);
#define VSID_RANDOMIZER 42470972311
#define VSID_MASK 0xfffffffff
#define VSID_RANDOMIZER 42470972311
UL
#define VSID_MASK 0xfffffffff
UL
/* This is only valid for kernel (including vmalloc, imalloc and bolted) EA's
...
...
include/asm-ppc64/page.h
View file @
37a93ba7
...
...
@@ -12,18 +12,20 @@
#include <linux/config.h>
/* PAGE_SHIFT determines the page size */
#define PAGE_SHIFT 12
#ifndef __ASSEMBLY__
# define PAGE_SIZE (1UL << PAGE_SHIFT)
#ifdef __ASSEMBLY__
#define ASM_CONST(x) x
#else
# define PAGE_SIZE (1 << PAGE_SHIFT)
#define ASM_CONST(x) x##UL
#endif
/* PAGE_SHIFT determines the page size */
#define PAGE_SHIFT 12
#define PAGE_SIZE (ASM_CONST(1) << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))
#define PAGE_OFFSET_MASK (PAGE_SIZE-1)
#define SID_SHIFT 28
#define SID_MASK 0xfffffffff
#define SID_MASK 0xfffffffff
UL
#define GET_ESID(x) (((x) >> SID_SHIFT) & SID_MASK)
#ifdef CONFIG_HUGETLB_PAGE
...
...
@@ -196,11 +198,11 @@ extern int page_is_ram(unsigned long physaddr);
/* KERNELBASE is defined for performance reasons. */
/* When KERNELBASE moves, those macros may have */
/* to change! */
#define PAGE_OFFSET
0xC000000000000000
#define PAGE_OFFSET
ASM_CONST(0xC000000000000000)
#define KERNELBASE PAGE_OFFSET
#define VMALLOCBASE 0xD000000000000000
#define IOREGIONBASE 0xE000000000000000
#define EEHREGIONBASE 0xA000000000000000
#define VMALLOCBASE 0xD000000000000000
UL
#define IOREGIONBASE 0xE000000000000000
UL
#define EEHREGIONBASE 0xA000000000000000
UL
#define IO_REGION_ID (IOREGIONBASE>>REGION_SHIFT)
#define EEH_REGION_ID (EEHREGIONBASE>>REGION_SHIFT)
...
...
include/asm-ppc64/thread_info.h
View file @
37a93ba7
...
...
@@ -69,10 +69,6 @@ struct thread_info {
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)
#if THREAD_SIZE != (4*PAGE_SIZE)
#error update vmlinux.lds and current_thread_info to match
#endif
/* how to get the thread information struct from C */
static
inline
struct
thread_info
*
current_thread_info
(
void
)
{
...
...
include/linux/idr.h
View file @
37a93ba7
...
...
@@ -15,10 +15,10 @@
#if BITS_PER_LONG == 32
# define IDR_BITS 5
# define IDR_FULL 0xffffffff
# define IDR_FULL 0xffffffff
ul
#elif BITS_PER_LONG == 64
# define IDR_BITS 6
# define IDR_FULL 0xffffffffffffffff
# define IDR_FULL 0xffffffffffffffff
ul
#else
# error "BITS_PER_LONG is not 32 or 64"
#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