Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
OpenBMC Firmware
talos-obmc-linux
Commits
26925c59
Commit
26925c59
authored
19 years ago
by
Paul Mackerras
Browse files
Options
Download
Plain Diff
Merge ../linux-2.6
parents
55bb239e
cd0cca7b
Changes
56
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
56 additions
and
69 deletions
+56
-69
MAINTAINERS
MAINTAINERS
+19
-1
arch/i386/kernel/process.c
arch/i386/kernel/process.c
+0
-7
arch/i386/pci/common.c
arch/i386/pci/common.c
+2
-2
arch/i386/pci/direct.c
arch/i386/pci/direct.c
+1
-1
arch/i386/pci/i386.c
arch/i386/pci/i386.c
+5
-2
arch/ia64/kernel/process.c
arch/ia64/kernel/process.c
+0
-7
arch/powerpc/kernel/process.c
arch/powerpc/kernel/process.c
+0
-1
arch/powerpc/mm/4xx_mmu.c
arch/powerpc/mm/4xx_mmu.c
+0
-4
arch/powerpc/mm/hugetlbpage.c
arch/powerpc/mm/hugetlbpage.c
+4
-6
arch/powerpc/mm/mem.c
arch/powerpc/mm/mem.c
+1
-1
arch/powerpc/mm/tlb_32.c
arch/powerpc/mm/tlb_32.c
+6
-0
arch/powerpc/mm/tlb_64.c
arch/powerpc/mm/tlb_64.c
+2
-2
arch/x86_64/kernel/process.c
arch/x86_64/kernel/process.c
+0
-7
drivers/base/bus.c
drivers/base/bus.c
+9
-12
drivers/base/dd.c
drivers/base/dd.c
+3
-5
drivers/block/floppy.c
drivers/block/floppy.c
+0
-6
drivers/char/drm/drm_memory.c
drivers/char/drm/drm_memory.c
+1
-1
drivers/char/drm/drm_memory_debug.h
drivers/char/drm/drm_memory_debug.h
+1
-1
drivers/char/drm/mga_drv.c
drivers/char/drm/mga_drv.c
+1
-1
drivers/char/drm/radeon_drv.h
drivers/char/drm/radeon_drv.h
+1
-2
No files found.
MAINTAINERS
View file @
26925c59
...
...
@@ -58,7 +58,7 @@ P: Person
M: Mail patches to
L: Mailing list that is relevant to this area
W: Web-page with status/info
T: SCM tree type and
URL
. Type is one of: git, hg, quilt.
T: SCM tree type and
location
. Type is one of: git, hg, quilt.
S: Status, one of the following:
Supported: Someone is actually paid to look after this.
...
...
@@ -227,6 +227,7 @@ AGPGART DRIVER
P: Dave Jones
M: davej@codemonkey.org.uk
W: http://www.codemonkey.org.uk/projects/agp/
T: git kernel.org:/pub/scm/linux/kernel/git/davej/agpgart.git
S: Maintained
AHA152X SCSI DRIVER
...
...
@@ -384,6 +385,7 @@ P: David Woodhouse
M: dwmw2@infradead.org
L: linux-audit@redhat.com
W: http://people.redhat.com/sgrubb/audit/
T: git kernel.org:/pub/scm/linux/kernel/git/dwmw2/audit-2.6.git
S: Maintained
AX.25 NETWORK LAYER
...
...
@@ -432,6 +434,7 @@ L: bluez-devel@lists.sf.net
W: http://bluez.sf.net
W: http://www.bluez.org
W: http://www.holtmann.org/linux/bluetooth/
T: git kernel.org:/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6.git
S: Maintained
BLUETOOTH RFCOMM LAYER
...
...
@@ -547,6 +550,7 @@ P: Steve French
M: sfrench@samba.org
L: samba-technical@lists.samba.org
W: http://us1.samba.org/samba/Linux_CIFS_client.html
T: git kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git
S: Supported
CIRRUS LOGIC GENERIC FBDEV DRIVER
...
...
@@ -608,6 +612,7 @@ P: Dave Jones
M: davej@codemonkey.org.uk
L: cpufreq@lists.linux.org.uk
W: http://www.codemonkey.org.uk/projects/cpufreq/
T: git kernel.org/pub/scm/linux/kernel/davej/cpufreq.git
S: Maintained
CPUID/MSR DRIVER
...
...
@@ -641,6 +646,7 @@ M: herbert@gondor.apana.org.au
P: David S. Miller
M: davem@davemloft.net
L: linux-crypto@vger.kernel.org
T: git kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git
S: Maintained
CYBERPRO FB DRIVER
...
...
@@ -1185,6 +1191,7 @@ P: Bartlomiej Zolnierkiewicz
M: B.Zolnierkiewicz@elka.pw.edu.pl
L: linux-kernel@vger.kernel.org
L: linux-ide@vger.kernel.org
T: git kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6.git
S: Maintained
IDE/ATAPI CDROM DRIVER
...
...
@@ -1279,6 +1286,7 @@ P: Vojtech Pavlik
M: vojtech@suse.cz
L: linux-input@atrey.karlin.mff.cuni.cz
L: linux-joystick@atrey.karlin.mff.cuni.cz
T: git kernel.org:/pub/scm/linux/kernel/git/dtor/input.git
S: Maintained
INOTIFY
...
...
@@ -1392,6 +1400,7 @@ P: Kai Germaschewski
M: kai.germaschewski@gmx.de
L: isdn4linux@listserv.isdn4linux.de
W: http://www.isdn4linux.de
T: git kernel.org:/pub/scm/linux/kernel/kkeil/isdn-2.6.git
S: Maintained
ISDN SUBSYSTEM (Eicon active card driver)
...
...
@@ -1420,6 +1429,7 @@ P: Dave Kleikamp
M: shaggy@austin.ibm.com
L: jfs-discussion@lists.sourceforge.net
W: http://jfs.sourceforge.net/
T: git kernel.org:/pub/scm/linux/kernel/git/shaggy/jfs-2.6.git
S: Supported
KCONFIG
...
...
@@ -1534,6 +1544,7 @@ P: Paul Mackerras
M: paulus@samba.org
W: http://www.penguinppc.org/
L: linuxppc-dev@ozlabs.org
T: git kernel.org:/pub/scm/linux/kernel/git/paulus/powerpc.git
S: Supported
LINUX FOR POWER MACINTOSH
...
...
@@ -1601,6 +1612,7 @@ P: Chris Wright
M: chrisw@osdl.org
L: linux-security-module@wirex.com
W: http://lsm.immunix.org
T: git kernel.org:/pub/scm/linux/kernel/git/chrisw/lsm-2.6.git
S: Supported
LM83 HARDWARE MONITOR DRIVER
...
...
@@ -1695,6 +1707,7 @@ P: David Woodhouse
M: dwmw2@infradead.org
W: http://www.linux-mtd.infradead.org/
L: linux-mtd@lists.infradead.org
T: git kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6.git
S: Maintained
MICROTEK X6 SCANNER
...
...
@@ -1815,6 +1828,7 @@ M: yoshfuji@linux-ipv6.org
P: Patrick McHardy
M: kaber@coreworks.de
L: netdev@vger.kernel.org
T: git kernel.org:/pub/scm/linux/kernel/davem/net-2.6.git
S: Maintained
IPVS
...
...
@@ -1866,6 +1880,7 @@ M: aia21@cantab.net
L: linux-ntfs-dev@lists.sourceforge.net
L: linux-kernel@vger.kernel.org
W: http://linux-ntfs.sf.net/
T: git kernel.org:/pub/scm/linux/kernel/git/aia21/ntfs-2.6.git
S: Maintained
NVIDIA (RIVA) FRAMEBUFFER DRIVER
...
...
@@ -2389,6 +2404,7 @@ P: Anton Blanchard
M: anton@samba.org
L: sparclinux@vger.kernel.org
L: ultralinux@vger.kernel.org
T: git kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6.git
S: Maintained
SHARP LH SUPPORT (LH7952X & LH7A40X)
...
...
@@ -2527,6 +2543,7 @@ P: Adrian Bunk
M: trivial@kernel.org
L: linux-kernel@vger.kernel.org
W: http://www.kernel.org/pub/linux/kernel/people/bunk/trivial/
T: git kernel.org:/pub/scm/linux/kernel/git/bunk/trivial.git
S: Maintained
TMS380 TOKEN-RING NETWORK DRIVER
...
...
@@ -2860,6 +2877,7 @@ P: Latchesar Ionkov
M: lucho@ionkov.net
L: v9fs-developer@lists.sourceforge.net
W: http://v9fs.sf.net
T: git kernel.org:/pub/scm/linux/kernel/ericvh/v9fs-devel.git
S: Maintained
VIDEO FOR LINUX
...
...
This diff is collapsed.
Click to expand it.
arch/i386/kernel/process.c
View file @
26925c59
...
...
@@ -393,13 +393,6 @@ void flush_thread(void)
{
struct
task_struct
*
tsk
=
current
;
/*
* Remove function-return probe instances associated with this task
* and put them back on the free list. Do not insert an exit probe for
* this function, it will be disabled by kprobe_flush_task if you do.
*/
kprobe_flush_task
(
tsk
);
memset
(
tsk
->
thread
.
debugreg
,
0
,
sizeof
(
unsigned
long
)
*
8
);
memset
(
tsk
->
thread
.
tls_array
,
0
,
sizeof
(
tsk
->
thread
.
tls_array
));
/*
...
...
This diff is collapsed.
Click to expand it.
arch/i386/pci/common.c
View file @
26925c59
...
...
@@ -132,7 +132,7 @@ struct pci_bus * __devinit pcibios_scan_root(int busnum)
}
}
printk
(
"PCI: Probing PCI hardware (bus %02x)
\n
"
,
busnum
);
printk
(
KERN_DEBUG
"PCI: Probing PCI hardware (bus %02x)
\n
"
,
busnum
);
return
pci_scan_bus_parented
(
NULL
,
busnum
,
&
pci_root_ops
,
NULL
);
}
...
...
@@ -144,7 +144,7 @@ static int __init pcibios_init(void)
struct
cpuinfo_x86
*
c
=
&
boot_cpu_data
;
if
(
!
raw_pci_ops
)
{
printk
(
"PCI: System does not support PCI
\n
"
);
printk
(
KERN_WARNING
"PCI: System does not support PCI
\n
"
);
return
0
;
}
...
...
This diff is collapsed.
Click to expand it.
arch/i386/pci/direct.c
View file @
26925c59
...
...
@@ -201,7 +201,7 @@ static int __init pci_sanity_check(struct pci_raw_ops *o)
return
1
;
}
DBG
(
"PCI: Sanity check failed
\n
"
);
DBG
(
KERN_WARNING
"PCI: Sanity check failed
\n
"
);
return
0
;
}
...
...
This diff is collapsed.
Click to expand it.
arch/i386/pci/i386.c
View file @
26925c59
...
...
@@ -221,6 +221,11 @@ int pcibios_enable_resources(struct pci_dev *dev, int mask)
continue
;
r
=
&
dev
->
resource
[
idx
];
if
(
!
(
r
->
flags
&
(
IORESOURCE_IO
|
IORESOURCE_MEM
)))
continue
;
if
((
idx
==
PCI_ROM_RESOURCE
)
&&
(
!
(
r
->
flags
&
IORESOURCE_ROM_ENABLE
)))
continue
;
if
(
!
r
->
start
&&
r
->
end
)
{
printk
(
KERN_ERR
"PCI: Device %s not available because of resource collisions
\n
"
,
pci_name
(
dev
));
return
-
EINVAL
;
...
...
@@ -230,8 +235,6 @@ int pcibios_enable_resources(struct pci_dev *dev, int mask)
if
(
r
->
flags
&
IORESOURCE_MEM
)
cmd
|=
PCI_COMMAND_MEMORY
;
}
if
(
dev
->
resource
[
PCI_ROM_RESOURCE
].
start
)
cmd
|=
PCI_COMMAND_MEMORY
;
if
(
cmd
!=
old_cmd
)
{
printk
(
"PCI: Enabling device %s (%04x -> %04x)
\n
"
,
pci_name
(
dev
),
old_cmd
,
cmd
);
pci_write_config_word
(
dev
,
PCI_COMMAND
,
cmd
);
...
...
This diff is collapsed.
Click to expand it.
arch/ia64/kernel/process.c
View file @
26925c59
...
...
@@ -718,13 +718,6 @@ kernel_thread_helper (int (*fn)(void *), void *arg)
void
flush_thread
(
void
)
{
/*
* Remove function-return probe instances associated with this task
* and put them back on the free list. Do not insert an exit probe for
* this function, it will be disabled by kprobe_flush_task if you do.
*/
kprobe_flush_task
(
current
);
/* drop floating-point and debug-register state if it exists: */
current
->
thread
.
flags
&=
~
(
IA64_THREAD_FPH_VALID
|
IA64_THREAD_DBG_VALID
);
ia64_drop_fpu
(
current
);
...
...
This diff is collapsed.
Click to expand it.
arch/powerpc/kernel/process.c
View file @
26925c59
...
...
@@ -457,7 +457,6 @@ void flush_thread(void)
if
(
t
->
flags
&
_TIF_ABI_PENDING
)
t
->
flags
^=
(
_TIF_ABI_PENDING
|
_TIF_32BIT
);
#endif
kprobe_flush_task
(
current
);
#ifndef CONFIG_SMP
if
(
last_task_used_math
==
current
)
...
...
This diff is collapsed.
Click to expand it.
arch/powerpc/mm/4xx_mmu.c
View file @
26925c59
...
...
@@ -110,13 +110,11 @@ unsigned long __init mmu_mapin_ram(void)
pmd_t
*
pmdp
;
unsigned
long
val
=
p
|
_PMD_SIZE_16M
|
_PAGE_HWEXEC
|
_PAGE_HWWRITE
;
spin_lock
(
&
init_mm
.
page_table_lock
);
pmdp
=
pmd_offset
(
pgd_offset_k
(
v
),
v
);
pmd_val
(
*
pmdp
++
)
=
val
;
pmd_val
(
*
pmdp
++
)
=
val
;
pmd_val
(
*
pmdp
++
)
=
val
;
pmd_val
(
*
pmdp
++
)
=
val
;
spin_unlock
(
&
init_mm
.
page_table_lock
);
v
+=
LARGE_PAGE_SIZE_16M
;
p
+=
LARGE_PAGE_SIZE_16M
;
...
...
@@ -127,10 +125,8 @@ unsigned long __init mmu_mapin_ram(void)
pmd_t
*
pmdp
;
unsigned
long
val
=
p
|
_PMD_SIZE_4M
|
_PAGE_HWEXEC
|
_PAGE_HWWRITE
;
spin_lock
(
&
init_mm
.
page_table_lock
);
pmdp
=
pmd_offset
(
pgd_offset_k
(
v
),
v
);
pmd_val
(
*
pmdp
)
=
val
;
spin_unlock
(
&
init_mm
.
page_table_lock
);
v
+=
LARGE_PAGE_SIZE_4M
;
p
+=
LARGE_PAGE_SIZE_4M
;
...
...
This diff is collapsed.
Click to expand it.
arch/powerpc/mm/hugetlbpage.c
View file @
26925c59
...
...
@@ -287,15 +287,15 @@ static int open_high_hpage_areas(struct mm_struct *mm, u16 newareas)
int
prepare_hugepage_range
(
unsigned
long
addr
,
unsigned
long
len
)
{
int
err
;
int
err
=
0
;
if
(
(
addr
+
len
)
<
addr
)
return
-
EINVAL
;
if
(
(
addr
+
len
)
<
0x100000000UL
)
if
(
addr
<
0x100000000UL
)
err
=
open_low_hpage_areas
(
current
->
mm
,
LOW_ESID_MASK
(
addr
,
len
));
else
if
((
addr
+
len
)
>=
0x100000000UL
)
err
=
open_high_hpage_areas
(
current
->
mm
,
HTLB_AREA_MASK
(
addr
,
len
));
if
(
err
)
{
...
...
@@ -754,9 +754,7 @@ int hash_huge_page(struct mm_struct *mm, unsigned long access,
}
/*
* No need to use ldarx/stdcx here because all who
* might be updating the pte will hold the
* page_table_lock
* No need to use ldarx/stdcx here
*/
*
ptep
=
__pte
(
new_pte
&
~
_PAGE_BUSY
);
...
...
This diff is collapsed.
Click to expand it.
arch/powerpc/mm/mem.c
View file @
26925c59
...
...
@@ -495,7 +495,7 @@ EXPORT_SYMBOL(flush_icache_user_range);
* We use it to preload an HPTE into the hash table corresponding to
* the updated linux PTE.
*
* This must always be called with the
mm->page_table_
lock held
* This must always be called with the
pte
lock held
.
*/
void
update_mmu_cache
(
struct
vm_area_struct
*
vma
,
unsigned
long
address
,
pte_t
pte
)
...
...
This diff is collapsed.
Click to expand it.
arch/powerpc/mm/tlb_32.c
View file @
26925c59
...
...
@@ -149,6 +149,12 @@ void flush_tlb_mm(struct mm_struct *mm)
return
;
}
/*
* It is safe to go down the mm's list of vmas when called
* from dup_mmap, holding mmap_sem. It would also be safe from
* unmap_region or exit_mmap, but not from vmtruncate on SMP -
* but it seems dup_mmap is the only SMP case which gets here.
*/
for
(
mp
=
mm
->
mmap
;
mp
!=
NULL
;
mp
=
mp
->
vm_next
)
flush_range
(
mp
->
vm_mm
,
mp
->
vm_start
,
mp
->
vm_end
);
FINISH_FLUSH
;
...
...
This diff is collapsed.
Click to expand it.
arch/powerpc/mm/tlb_64.c
View file @
26925c59
...
...
@@ -95,7 +95,7 @@ static void pte_free_submit(struct pte_freelist_batch *batch)
void
pgtable_free_tlb
(
struct
mmu_gather
*
tlb
,
pgtable_free_t
pgf
)
{
/* This is safe
as we are holding page_table_lock
*/
/* This is safe
since tlb_gather_mmu has disabled preemption
*/
cpumask_t
local_cpumask
=
cpumask_of_cpu
(
smp_processor_id
());
struct
pte_freelist_batch
**
batchp
=
&
__get_cpu_var
(
pte_freelist_cur
);
...
...
@@ -206,7 +206,7 @@ void __flush_tlb_pending(struct ppc64_tlb_batch *batch)
void
pte_free_finish
(
void
)
{
/* This is safe
as we are holding page_table_lock
*/
/* This is safe
since tlb_gather_mmu has disabled preemption
*/
struct
pte_freelist_batch
**
batchp
=
&
__get_cpu_var
(
pte_freelist_cur
);
if
(
*
batchp
==
NULL
)
...
...
This diff is collapsed.
Click to expand it.
arch/x86_64/kernel/process.c
View file @
26925c59
...
...
@@ -351,13 +351,6 @@ void flush_thread(void)
struct
task_struct
*
tsk
=
current
;
struct
thread_info
*
t
=
current_thread_info
();
/*
* Remove function-return probe instances associated with this task
* and put them back on the free list. Do not insert an exit probe for
* this function, it will be disabled by kprobe_flush_task if you do.
*/
kprobe_flush_task
(
tsk
);
if
(
t
->
flags
&
_TIF_ABI_PENDING
)
t
->
flags
^=
(
_TIF_ABI_PENDING
|
_TIF_IA32
);
...
...
This diff is collapsed.
Click to expand it.
drivers/base/bus.c
View file @
26925c59
...
...
@@ -133,7 +133,7 @@ static struct kobj_type ktype_bus = {
decl_subsys
(
bus
,
&
ktype_bus
,
NULL
);
/* Manually detach a device from it
'
s associated driver. */
/* Manually detach a device from its associated driver. */
static
int
driver_helper
(
struct
device
*
dev
,
void
*
data
)
{
const
char
*
name
=
data
;
...
...
@@ -151,14 +151,13 @@ static ssize_t driver_unbind(struct device_driver *drv,
int
err
=
-
ENODEV
;
dev
=
bus_find_device
(
bus
,
NULL
,
(
void
*
)
buf
,
driver_helper
);
if
((
dev
)
&&
(
dev
->
driver
==
drv
))
{
if
(
dev
&&
dev
->
driver
==
drv
)
{
device_release_driver
(
dev
);
err
=
count
;
}
if
(
err
)
return
err
;
return
count
;
put_device
(
dev
);
put_bus
(
bus
)
;
return
err
;
}
static
DRIVER_ATTR
(
unbind
,
S_IWUSR
,
NULL
,
driver_unbind
);
...
...
@@ -175,16 +174,14 @@ static ssize_t driver_bind(struct device_driver *drv,
int
err
=
-
ENODEV
;
dev
=
bus_find_device
(
bus
,
NULL
,
(
void
*
)
buf
,
driver_helper
);
if
((
dev
)
&&
(
dev
->
driver
==
NULL
))
{
if
(
dev
&&
dev
->
driver
==
NULL
)
{
down
(
&
dev
->
sem
);
err
=
driver_probe_device
(
drv
,
dev
);
up
(
&
dev
->
sem
);
put_device
(
dev
);
}
if
(
err
)
return
err
;
return
count
;
put_device
(
dev
);
put_bus
(
bus
)
;
return
err
;
}
static
DRIVER_ATTR
(
bind
,
S_IWUSR
,
NULL
,
driver_bind
);
...
...
This diff is collapsed.
Click to expand it.
drivers/base/dd.c
View file @
26925c59
...
...
@@ -62,7 +62,6 @@ void device_bind_driver(struct device * dev)
* because we don't know the format of the ID structures, nor what
* is to be considered a match and what is not.
*
*
* This function returns 1 if a match is found, an error if one
* occurs (that is not -ENODEV or -ENXIO), and 0 otherwise.
*
...
...
@@ -158,7 +157,6 @@ static int __driver_attach(struct device * dev, void * data)
driver_probe_device
(
drv
,
dev
);
up
(
&
dev
->
sem
);
return
0
;
}
...
...
@@ -225,15 +223,15 @@ void driver_detach(struct device_driver * drv)
struct
device
*
dev
;
for
(;;)
{
spin_lock
_irq
(
&
drv
->
klist_devices
.
k_lock
);
spin_lock
(
&
drv
->
klist_devices
.
k_lock
);
if
(
list_empty
(
&
drv
->
klist_devices
.
k_list
))
{
spin_unlock
_irq
(
&
drv
->
klist_devices
.
k_lock
);
spin_unlock
(
&
drv
->
klist_devices
.
k_lock
);
break
;
}
dev
=
list_entry
(
drv
->
klist_devices
.
k_list
.
prev
,
struct
device
,
knode_driver
.
n_node
);
get_device
(
dev
);
spin_unlock
_irq
(
&
drv
->
klist_devices
.
k_lock
);
spin_unlock
(
&
drv
->
klist_devices
.
k_lock
);
down
(
&
dev
->
sem
);
if
(
dev
->
driver
==
drv
)
...
...
This diff is collapsed.
Click to expand it.
drivers/block/floppy.c
View file @
26925c59
...
...
@@ -3714,12 +3714,6 @@ static int floppy_open(struct inode *inode, struct file *filp)
USETF(FD_VERIFY);
}
/* set underlying gendisk policy to reflect real ro/rw status */
if
(
UTESTF
(
FD_DISK_WRITABLE
))
inode
->
i_bdev
->
bd_disk
->
policy
=
0
;
else
inode
->
i_bdev
->
bd_disk
->
policy
=
1
;
if (UDRS->fd_ref == -1 || (UDRS->fd_ref && (filp->f_flags & O_EXCL)))
goto out2;
...
...
This diff is collapsed.
Click to expand it.
drivers/char/drm/drm_memory.c
View file @
26925c59
...
...
@@ -95,7 +95,7 @@ unsigned long drm_alloc_pages(int order, int area)
unsigned
long
addr
;
unsigned
int
sz
;
address
=
__get_free_pages
(
GFP_KERNEL
,
order
);
address
=
__get_free_pages
(
GFP_KERNEL
|
__GFP_COMP
,
order
);
if
(
!
address
)
return
0
;
...
...
This diff is collapsed.
Click to expand it.
drivers/char/drm/drm_memory_debug.h
View file @
26925c59
...
...
@@ -221,7 +221,7 @@ unsigned long DRM(alloc_pages) (int order, int area) {
}
spin_unlock
(
&
DRM
(
mem_lock
));
address
=
__get_free_pages
(
GFP_KERNEL
,
order
);
address
=
__get_free_pages
(
GFP_KERNEL
|
__GFP_COMP
,
order
);
if
(
!
address
)
{
spin_lock
(
&
DRM
(
mem_lock
));
++
DRM
(
mem_stats
)[
area
].
fail_count
;
...
...
This diff is collapsed.
Click to expand it.
drivers/char/drm/mga_drv.c
View file @
26925c59
...
...
@@ -161,7 +161,7 @@ static int mga_driver_device_is_agp(drm_device_t * dev)
* device.
*/
if
((
pdev
->
device
==
0x0525
)
if
((
pdev
->
device
==
0x0525
)
&&
pdev
->
bus
->
self
&&
(
pdev
->
bus
->
self
->
vendor
==
0x3388
)
&&
(
pdev
->
bus
->
self
->
device
==
0x0021
))
{
return
0
;
...
...
This diff is collapsed.
Click to expand it.
drivers/char/drm/radeon_drv.h
View file @
26925c59
...
...
@@ -214,8 +214,6 @@ typedef struct drm_radeon_private {
int
microcode_version
;
int
is_pci
;
struct
{
u32
boxes
;
int
freelist_timeouts
;
...
...
@@ -275,6 +273,7 @@ typedef struct drm_radeon_private {
/* starting from here on, data is preserved accross an open */
uint32_t
flags
;
/* see radeon_chip_flags */
int
is_pci
;
}
drm_radeon_private_t
;
typedef
struct
drm_radeon_buf_priv
{
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
3
Next
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