Re: [PATCH] drm/mgag200: fix build on alpha arch

2020-08-11 Thread Daniel Vetter
On Tue, Aug 11, 2020 at 10:12:01AM +0200, Sam Ravnborg wrote: > Hi Thomas. > > On Tue, Aug 11, 2020 at 08:59:13AM +0200, Thomas Zimmermann wrote: > > Hi Sam > > > > thanks for taken care of this issue. Alpha is a rare architecture these > > days. How do you build and test for it? > > I am on ubu

Re: [PATCH] drm/mgag200: fix build on alpha arch

2020-08-11 Thread Sam Ravnborg
Hi Thomas. On Tue, Aug 11, 2020 at 08:59:13AM +0200, Thomas Zimmermann wrote: > Hi Sam > > thanks for taken care of this issue. Alpha is a rare architecture these > days. How do you build and test for it? I am on ubuntu here so I have installed: apt install gcc-alpha-linux-gnu And then alpha is

Re: [PATCH] drm/mgag200: fix build on alpha arch

2020-08-11 Thread Thomas Zimmermann
Hi Sam thanks for taken care of this issue. Alpha is a rare architecture these days. How do you build and test for it? Am 07.08.20 um 20:05 schrieb Sam Ravnborg: > When building imgag200 for the alpha architecture it fails like this: > mgag200_drv.c:233:9: error: implicit declaration of function

Re: [PATCH] drm/mgag200: fix build on alpha arch

2020-08-07 Thread Sam Ravnborg
Hi Daniel. On Fri, Aug 07, 2020 at 10:36:34PM +0200, Daniel Vetter wrote: > On Fri, Aug 7, 2020 at 8:05 PM Sam Ravnborg wrote: > > > > When building imgag200 for the alpha architecture it fails like this: > > mgag200_drv.c:233:9: error: implicit declaration of function ‘vmalloc’ > > 233 | bios

Re: [PATCH] drm/mgag200: fix build on alpha arch

2020-08-07 Thread Daniel Vetter
On Fri, Aug 7, 2020 at 8:05 PM Sam Ravnborg wrote: > > When building imgag200 for the alpha architecture it fails like this: > mgag200_drv.c:233:9: error: implicit declaration of function ‘vmalloc’ > 233 | bios = vmalloc(size); > | ^~~ > | kmalloc > > When buildi

[PATCH] drm/mgag200: fix build on alpha arch

2020-08-07 Thread Sam Ravnborg
When building imgag200 for the alpha architecture it fails like this: mgag200_drv.c:233:9: error: implicit declaration of function ‘vmalloc’ 233 | bios = vmalloc(size); | ^~~ | kmalloc When building for other architectures vmalloc.h is pulled in via some other he