Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3bb4e153 authored by David Howells's avatar David Howells Committed by Linus Torvalds
Browse files

MN10300: Discard duplicate PFN_xxx() macros



Discard duplicate PFN_xxx() macros from arch code as they're now in the
general headers.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 31712eec
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -136,10 +136,6 @@ void __init setup_arch(char **cmdline_p)
	data_resource.start = virt_to_bus(&_etext);
	data_resource.end = virt_to_bus(&_edata)-1;

#define PFN_UP(x)	(((x) + PAGE_SIZE-1) >> PAGE_SHIFT)
#define PFN_DOWN(x)	((x) >> PAGE_SHIFT)
#define PFN_PHYS(x)	((x) << PAGE_SHIFT)

	start_pfn = (CONFIG_KERNEL_RAM_BASE_ADDRESS >> PAGE_SHIFT);
	kstart_pfn = PFN_UP(__pa(&_text));
	free_pfn = PFN_UP(__pa(&_end));