Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 52216
Collapse All | Expand All

(-)fglrx-orig/lib/modules/fglrx/build_mod/firegl_public.c (-3 / +14 lines)
Lines 2816-2825 Link Here
2816
#ifdef FGL
2816
#ifdef FGL
2817
struct _agp_memory* __ke_agp_allocate_memory_phys_list(__ke_size_t pages, unsigned long type, unsigned long * phys_addr)
2817
struct _agp_memory* __ke_agp_allocate_memory_phys_list(__ke_size_t pages, unsigned long type, unsigned long * phys_addr)
2818
{
2818
{
2819
#if 0
2819
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,4,0)
2820
#ifdef __AGP__
2820
#ifdef __AGP__
2821
	if (AGP_AVAILABLE(allocate_memory_phys_list))
2821
    if (AGP_AVAILABLE(allocate_memory)) {
2822
		return AGP_FUNC(allocate_memory_phys_list)(pages, type, phys_addr);
2822
	    int i;
2823
	    struct _agp_memory* newmem = AGP_FUNC(allocate_memory)(pages, type);
2824
2825
		if (newmem) {
2826
		    /* convert/copy the pysical adresses into the "new" agp_memory table */
2827
		    for (i = 0; i < pages; i++) {
2828
			    phys_addr[i] = newmem->memory[i];
2829
			}
2830
		}
2831
2832
		return newmem;
2833
	}
2823
#endif /* __AGP__ */
2834
#endif /* __AGP__ */
2824
#endif
2835
#endif
2825
	if (firegl_agp)
2836
	if (firegl_agp)
(-)fglrx-orig/lib/modules/fglrx/build_mod/make.sh (-1 / +1 lines)
Lines 468-474 Link Here
468
src_file=/proc/kallsyms
468
src_file=/proc/kallsyms
469
if [ -e $src_file ]
469
if [ -e $src_file ]
470
then
470
then
471
  if [ `fgrep smp $src_file -c` -gt 10 ]
471
  if [ `fgrep smp $src_file -c` -gt 16 ]
472
  then
472
  then
473
    SMP=1
473
    SMP=1
474
    echo "file $src_file says: SMP=$SMP"                             >> $logfile
474
    echo "file $src_file says: SMP=$SMP"                             >> $logfile

Return to bug 52216